summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2019-08-27 23:26:37 +0200
committerjohannst <johannes.stoelp@gmail.com>2019-08-27 23:26:37 +0200
commite095ef219a383c3631df92299f5ea46598bee1c4 (patch)
tree0c051a17431a42ebe8a3483198c4272aef5c87d7
parent7739b455e006ac5455be07c72c6dbccb435ac1fc (diff)
downloaddotfiles-e095ef219a383c3631df92299f5ea46598bee1c4.tar.gz
dotfiles-e095ef219a383c3631df92299f5ea46598bee1c4.zip
emacs short y/n prompting
-rw-r--r--emacs.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs.el b/emacs.el
index 0b4097d..58fad0a 100644
--- a/emacs.el
+++ b/emacs.el
@@ -12,6 +12,9 @@
'(whitespace-style '(trailing tabs newline tab-mark newline-mark))
)
+;; only y/n prompt (no RET needed)
+(defalias 'yes-or-no-p 'y-or-n-p)
+
;; fix 'bad request' on package-refresh-contents (should be fixed with emcas 26.3)
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")