1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

* lisp/subr.el (y-or-n-p): Capitalize "yes".

This commit is contained in:
Juri Linkov 2011-09-05 11:05:01 +03:00
parent 052bd38a56
commit 045820ecd3
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2011-09-05 Juri Linkov <juri@jurta.org>
* subr.el (y-or-n-p): Capitalize "yes".
2011-09-04 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but

View file

@ -2254,7 +2254,7 @@ is nil and `use-dialog-box' is non-nil."
(listp last-nonmenu-event)
use-dialog-box)
(setq answer
(x-popup-dialog t `(,prompt ("yes" . act) ("No" . skip))))
(x-popup-dialog t `(,prompt ("Yes" . act) ("No" . skip))))
(setq prompt (concat prompt
(if (eq ?\s (aref prompt (1- (length prompt))))
"" " ")