From 31fb7716caa39151b9d65659d4704e60f4a87bf2 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 29 Jul 2026 06:47:28 -0700 Subject: emacs: Add comment --- emacs/.emacs.d/init.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.3-2-g0d8e