]> git.eshelyaron.com Git - emacs.git/commit
Respect non-saved value of `read-short-answer' (Bug#31782)
authorNoam Postavsky <npostavs@gmail.com>
Thu, 5 Jul 2018 02:51:45 +0000 (22:51 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Sat, 4 Aug 2018 15:55:40 +0000 (11:55 -0400)
commit95050a5841c01bbcb6e8a82838881eee7879b7b9
tree566ce0574690af55f40488a615a0066237e8e825
parentd228de8a26fdda28f5414200f32be6e7adfdacf7
Respect non-saved value of `read-short-answer' (Bug#31782)

* lisp/emacs-lisp/map-ynp.el (read-answer-short): Add an `auto'
setting.
(read-answer): Check the function cell of `yes-or-no-p' when
`read-answer-short' is `auto' rather than calling
`custom-reevaluate-setting' which would reset the option to its saved
value.
lisp/emacs-lisp/map-ynp.el