diff options
| author | Stefan Monnier | 2008-06-12 20:43:03 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-06-12 20:43:03 +0000 |
| commit | 2456bb63ba84813ffb3c6c17d218429099becc25 (patch) | |
| tree | e8ec90eb026496f0e3167bb44cdea47338917fdb | |
| parent | 2afc21f5f6d8963301913c5aed515e567b8e3986 (diff) | |
| download | emacs-2456bb63ba84813ffb3c6c17d218429099becc25.tar.gz emacs-2456bb63ba84813ffb3c6c17d218429099becc25.zip | |
(map-y-or-n-p): Accept non-char events.
| -rw-r--r-- | lisp/ChangeLog | 16 | ||||
| -rw-r--r-- | lisp/emacs-lisp/map-ynp.el | 7 |
2 files changed, 12 insertions, 11 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 61a8b8f553d..c0841455468 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,8 +1,11 @@ | |||
| 1 | 2008-06-12 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * emacs-lisp/map-ynp.el (map-y-or-n-p): Accept non-char events. | ||
| 4 | |||
| 1 | 2008-06-12 Chong Yidong <cyd@stupidchicken.com> | 5 | 2008-06-12 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 6 | ||
| 3 | * longlines.el (longlines-search-forward) | 7 | * longlines.el (longlines-search-forward, longlines-search-backward) |
| 4 | (longlines-search-backward, longlines-re-search-forward): Use a | 8 | (longlines-re-search-forward): Use a smarter search-spaces-regexp. |
| 5 | smarter search-spaces-regexp. | ||
| 6 | 9 | ||
| 7 | 2008-06-12 Sam Steingold <sds@gnu.org> | 10 | 2008-06-12 Sam Steingold <sds@gnu.org> |
| 8 | 11 | ||
| @@ -11,8 +14,7 @@ | |||
| 11 | 14 | ||
| 12 | 2008-06-12 Chong Yidong <cyd@stupidchicken.com> | 15 | 2008-06-12 Chong Yidong <cyd@stupidchicken.com> |
| 13 | 16 | ||
| 14 | * menu-bar.el (menu-set-font): Renamed x-font-dialog to | 17 | * menu-bar.el (menu-set-font): Rename x-font-dialog to x-select-font. |
| 15 | x-select-font. | ||
| 16 | 18 | ||
| 17 | 2008-06-12 Glenn Morris <rgm@gnu.org> | 19 | 2008-06-12 Glenn Morris <rgm@gnu.org> |
| 18 | 20 | ||
| @@ -21,8 +23,8 @@ | |||
| 21 | 23 | ||
| 22 | * term/mac-win.el (x-toolkit-scroll-bars): Check bound. | 24 | * term/mac-win.el (x-toolkit-scroll-bars): Check bound. |
| 23 | 25 | ||
| 24 | * progmodes/cperl-mode.el (cperl-info-on-command): Use | 26 | * progmodes/cperl-mode.el (cperl-info-on-command): |
| 25 | display-pixel-height rather than x-display-pixel-height. | 27 | Use display-pixel-height rather than x-display-pixel-height. |
| 26 | 28 | ||
| 27 | * mail/rmailedit.el (rmail-cease-edit): | 29 | * mail/rmailedit.el (rmail-cease-edit): |
| 28 | * vc-dispatcher.el (vc-dir-mode): Check tool-bar-mode is bound. | 30 | * vc-dispatcher.el (vc-dir-mode): Check tool-bar-mode is bound. |
diff --git a/lisp/emacs-lisp/map-ynp.el b/lisp/emacs-lisp/map-ynp.el index 0820c5c1e4d..ec173d1197b 100644 --- a/lisp/emacs-lisp/map-ynp.el +++ b/lisp/emacs-lisp/map-ynp.el | |||
| @@ -112,10 +112,9 @@ Returns the number of actions taken." | |||
| 112 | use-menus t | 112 | use-menus t |
| 113 | mouse-event last-nonmenu-event)) | 113 | mouse-event last-nonmenu-event)) |
| 114 | (setq user-keys (if action-alist | 114 | (setq user-keys (if action-alist |
| 115 | (concat (mapconcat (function | 115 | (concat (mapconcat (lambda (elt) |
| 116 | (lambda (elt) | 116 | (key-description |
| 117 | (key-description | 117 | (vector (car elt)))) |
| 118 | (char-to-string (car elt))))) | ||
| 119 | action-alist ", ") | 118 | action-alist ", ") |
| 120 | " ") | 119 | " ") |
| 121 | "") | 120 | "") |