mirror of
https://github.com/correl/dotfiles.git
synced 2024-11-16 03:00:08 +00:00
[emacs] Change yes or no prompt to y or n
This commit is contained in:
parent
a85988153e
commit
585ba7104f
1 changed files with 7 additions and 0 deletions
|
@ -681,6 +681,13 @@ https://github.com/bbatsov/prelude
|
|||
(kill-new filename)
|
||||
(message "Copied buffer file name '%s' to the clipboard." filename))))
|
||||
#+end_src
|
||||
** Prompt for 'y or n' instead of 'yes or no'
|
||||
Because typing out "yes" and "no" is irritating.
|
||||
|
||||
#+name: other
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(defalias 'yes-or-no-p #'y-or-n-p)
|
||||
#+END_SRC
|
||||
* Custom settings
|
||||
Store options set via =customize-*= in a separate file (Emacs stores
|
||||
them in =init.el= by default).
|
||||
|
|
Loading…
Reference in a new issue