aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2011-09-05 11:05:01 +0300
committerJuri Linkov2011-09-05 11:05:01 +0300
commit045820ecd3b3f4396474fae297945d58d9187e6a (patch)
treeb1764571413adb03b7efff36f1ddea0b2c22ed12
parent052bd38a56ad14a7f311677051e778de6c4bdc1c (diff)
downloademacs-045820ecd3b3f4396474fae297945d58d9187e6a.tar.gz
emacs-045820ecd3b3f4396474fae297945d58d9187e6a.zip
* lisp/subr.el (y-or-n-p): Capitalize "yes".
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/subr.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 5e6a6d9108a..59ecd1a3c12 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12011-09-05 Juri Linkov <juri@jurta.org>
2
3 * subr.el (y-or-n-p): Capitalize "yes".
4
12011-09-04 Michael Albinus <michael.albinus@gmx.de> 52011-09-04 Michael Albinus <michael.albinus@gmx.de>
2 6
3 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but 7 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
diff --git a/lisp/subr.el b/lisp/subr.el
index b49a20e7f6e..a2676b1173d 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -2254,7 +2254,7 @@ is nil and `use-dialog-box' is non-nil."
2254 (listp last-nonmenu-event) 2254 (listp last-nonmenu-event)
2255 use-dialog-box) 2255 use-dialog-box)
2256 (setq answer 2256 (setq answer
2257 (x-popup-dialog t `(,prompt ("yes" . act) ("No" . skip)))) 2257 (x-popup-dialog t `(,prompt ("Yes" . act) ("No" . skip))))
2258 (setq prompt (concat prompt 2258 (setq prompt (concat prompt
2259 (if (eq ?\s (aref prompt (1- (length prompt)))) 2259 (if (eq ?\s (aref prompt (1- (length prompt))))
2260 "" " ") 2260 "" " ")