From e095ef219a383c3631df92299f5ea46598bee1c4 Mon Sep 17 00:00:00 2001 From: johannst Date: Tue, 27 Aug 2019 23:26:37 +0200 Subject: emacs short y/n prompting --- emacs.el | 3 +++ 1 file changed, 3 insertions(+) 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") -- cgit v1.2.3