Mercurial > emacs
changeset 96920:3aa8d40c3218
* dired.el (dired-mode-map): Show the key binding for wdired.
* menu-bar.el (menu-bar-file-menu): Show the key binding for
exiting emacs.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Wed, 23 Jul 2008 05:58:24 +0000 |
parents | a9554ef4bba8 |
children | 72d6895432c7 |
files | lisp/ChangeLog lisp/dired.el lisp/menu-bar.el |
diffstat | 3 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Wed Jul 23 03:34:27 2008 +0000 +++ b/lisp/ChangeLog Wed Jul 23 05:58:24 2008 +0000 @@ -1,3 +1,10 @@ +2008-07-23 Dan Nicolaescu <dann@ics.uci.edu> + + * dired.el (dired-mode-map): Show the key binding for wdired. + + * menu-bar.el (menu-bar-file-menu): Show the key binding for + exiting emacs. + 2008-07-19 Adrian Robert <Adrian.B.Robert@gmail.com> * term/ns-win.el (x-list-fonts): Drop alias.
--- a/lisp/dired.el Wed Jul 23 03:34:27 2008 +0000 +++ b/lisp/dired.el Wed Jul 23 05:58:24 2008 +0000 @@ -1433,6 +1433,7 @@ (define-key map [menu-bar immediate wdired-mode] '(menu-item "Edit File Names" wdired-change-to-wdired-mode :help "Put a dired buffer in a mode in which filenames are editable" + :keys "C-x C-q" :filter (lambda (x) (if (eq major-mode 'dired-mode) x)))) (define-key map [menu-bar regexp]
--- a/lisp/menu-bar.el Wed Jul 23 03:34:27 2008 +0000 +++ b/lisp/menu-bar.el Wed Jul 23 05:58:24 2008 +0000 @@ -65,6 +65,7 @@ ;; The "File" menu items (define-key menu-bar-file-menu [exit-emacs] '(menu-item "Exit Emacs" save-buffers-kill-emacs + :keys "C-x C-q" :help "Save unsaved buffers, then exit")) (define-key menu-bar-file-menu [separator-exit]