Mercurial > emacs
changeset 99787:24e48b0174fa
Tweak previous change.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sat, 22 Nov 2008 03:39:53 +0000 |
parents | 8ed501c82dcd |
children | 2de5937e4473 |
files | lisp/menu-bar.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/menu-bar.el Sat Nov 22 03:34:55 2008 +0000 +++ b/lisp/menu-bar.el Sat Nov 22 03:39:53 2008 +0000 @@ -452,7 +452,7 @@ (defvar yank-menu (cons "Select Yank" nil)) (fset 'yank-menu (cons 'keymap yank-menu)) (define-key menu-bar-edit-menu [paste-from-menu] - '(menu-item "Paste From Kill Menu" yank-menu + '(menu-item "Paste from Kill Menu" yank-menu :enable (and (cdr yank-menu) (not buffer-read-only)) :help "Choose a string from the kill ring and paste it")) (define-key menu-bar-edit-menu [paste]