aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2026-07-29 06:47:28 -0700
committerGravatar Tom Willemse2026-08-26 23:04:25 -0700
commit31fb7716caa39151b9d65659d4704e60f4a87bf2 (patch)
tree8cdbf4a2f48bedc14b30ba464339e0a86228250a
parente059afdee5224ddf967ee2c9ab9ab71924045b27 (diff)
downloadnew-dotfiles-31fb7716caa39151b9d65659d4704e60f4a87bf2.tar.gz
new-dotfiles-31fb7716caa39151b9d65659d4704e60f4a87bf2.zip
emacs: Add comment
-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)