Browse Source

Fix emacs prompts

main
parent
commit
562b46619e
Signed by: chris GPG Key ID: 3025DCBD46F81C0F
  1. 10
      README.org

10
README.org

@ -1160,6 +1160,7 @@ It's somtimes desirable to have customization that takes effect during Emacs sta
<<emacs-native-comp-elisp>> <<emacs-native-comp-elisp>>
<<emacs-backup-files-elisp>> <<emacs-backup-files-elisp>>
<<emacs-shell-commands-elisp>> <<emacs-shell-commands-elisp>>
<<emacs-improved-prompts>>
#+END_SRC #+END_SRC
** Native Comp ** Native Comp
@ -1234,6 +1235,15 @@ Define some methods for interaction between [[https://gnu.org/software/emacs/][G
(apply #'call-process `(,(car command-parts) nil 0 nil ,@(cdr command-parts))))) (apply #'call-process `(,(car command-parts) nil 0 nil ,@(cdr command-parts)))))
#+END_SRC #+END_SRC
** Improved prompts
By default Emacs will ask you to enter 'Yes' or 'No' instead of 'Y' or 'N'. This is a relatively conservative design decision, based on the fact that certain prompts may be important enough to warrant typing three characters.
#+NAME: emacs-improved-prompts
#+BEGIN_SRC emacs-lisp
(defalias 'yes-or-no-p 'y-or-n-p)
#+END_SRC
** Nix Mode ** Nix Mode
#+NAME: emacs-nix-mode-extras #+NAME: emacs-nix-mode-extras

Loading…
Cancel
Save