diff options
| author | Juri Linkov | 2011-09-05 11:05:01 +0300 |
|---|---|---|
| committer | Juri Linkov | 2011-09-05 11:05:01 +0300 |
| commit | 045820ecd3b3f4396474fae297945d58d9187e6a (patch) | |
| tree | b1764571413adb03b7efff36f1ddea0b2c22ed12 | |
| parent | 052bd38a56ad14a7f311677051e778de6c4bdc1c (diff) | |
| download | emacs-045820ecd3b3f4396474fae297945d58d9187e6a.tar.gz emacs-045820ecd3b3f4396474fae297945d58d9187e6a.zip | |
* lisp/subr.el (y-or-n-p): Capitalize "yes".
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/subr.el | 2 |
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 @@ | |||
| 1 | 2011-09-05 Juri Linkov <juri@jurta.org> | ||
| 2 | |||
| 3 | * subr.el (y-or-n-p): Capitalize "yes". | ||
| 4 | |||
| 1 | 2011-09-04 Michael Albinus <michael.albinus@gmx.de> | 5 | 2011-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 | "" " ") |