aboutsummaryrefslogtreecommitdiffstats
path: root/emacs
diff options
context:
space:
mode:
authorGravatar Tom Willemse2026-07-29 06:47:28 -0700
committerGravatar Tom Willemse2026-07-29 06:47:51 -0700
commitdc753623e2cca07a9272c42aef43259981917860 (patch)
treeb6f1e8abdec128644c833e69b5e1de3b14bc5bc5 /emacs
parent53d09ea7b704b092f1aeab442570b2613db834e7 (diff)
downloadnew-dotfiles-dc753623e2cca07a9272c42aef43259981917860.tar.gz
new-dotfiles-dc753623e2cca07a9272c42aef43259981917860.zip
emacs: Add comment
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.org2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 3e90be0..b19e947 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -6,7 +6,7 @@ First, lexical binding must be enabled. This is better for performance, but also
;; -*- lexical-binding: t; -*-
#+end_src
-Switch prompts for “yes” or “no” to “y” or “n”.
+Switch prompts for “yes” or “no” to “y” or “n”. It's not recommended to do this because it's very easy to accidentally press either single character when you don't realize Emacs is asking you for a confirmation, but in practice I've had no issues with this. At worst I've said “no” to saving a file before doing something a few times.
#+begin_src emacs-lisp
(defalias 'yes-or-no-p 'y-or-n-p)