From: Dan Nicolaescu Date: Wed, 23 Jul 2008 05:58:24 +0000 (+0000) Subject: * dired.el (dired-mode-map): Show the key binding for wdired. X-Git-Tag: emacs-pretest-23.0.90~3973 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=89e87059eb601cd685e4eee5649b7781b65a208c;p=emacs.git * 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. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 72a11167447..0412b67a76d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,10 @@ +2008-07-23 Dan Nicolaescu + + * 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 * term/ns-win.el (x-list-fonts): Drop alias. diff --git a/lisp/dired.el b/lisp/dired.el index 45b3e7b4ea5..49a69eb60c6 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -1433,6 +1433,7 @@ Do so according to the former subdir alist OLD-SUBDIR-ALIST." (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] diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index 827148b2214..19261479b01 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el @@ -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]