aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2006-12-04 00:30:11 +0000
committerRichard M. Stallman2006-12-04 00:30:11 +0000
commitb36e96c8f3454e0909ef63805bf2e8fa08319bbd (patch)
treeab10afa20a993ed00827050aadc675fedb8e2585
parent77ea34ced9efeb406db920ded67a4e2d1dd584d5 (diff)
downloademacs-b36e96c8f3454e0909ef63805bf2e8fa08319bbd.tar.gz
emacs-b36e96c8f3454e0909ef63805bf2e8fa08319bbd.zip
(menu-bar-make-toggle): Add "globally" to echo area messages.
<indicate-empty-lines, case-fold-search>: Add "globally" to Help string. <case-fold-search>: MESSAGE arg need not say "globally". (menu-bar-edit-menu <paste-from-menu>): Renamed from select-and-paste.
-rw-r--r--lisp/menu-bar.el17
1 files changed, 9 insertions, 8 deletions
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index 0fdb0c8ccd7..72cc8521ee9 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -462,9 +462,10 @@ A large number or nil slows down menu responsiveness."
462 "Delete the text in region between mark and current position")) 462 "Delete the text in region between mark and current position"))
463(defvar yank-menu (cons "Select Yank" nil)) 463(defvar yank-menu (cons "Select Yank" nil))
464(fset 'yank-menu (cons 'keymap yank-menu)) 464(fset 'yank-menu (cons 'keymap yank-menu))
465(define-key menu-bar-edit-menu [select-paste] 465(define-key menu-bar-edit-menu [paste-from-menu]
466 '(menu-item "Select and Paste" yank-menu 466 '(menu-item "Paste from kill menu" yank-menu
467 :enable (and (cdr yank-menu) (not buffer-read-only)))) 467 :enable (and (cdr yank-menu) (not buffer-read-only))
468 :help "Choose a string from the kill ring and paste it"))
468(define-key menu-bar-edit-menu [paste] 469(define-key menu-bar-edit-menu [paste]
469 '(menu-item "Paste" yank 470 '(menu-item "Paste" yank
470 :enable (and 471 :enable (and
@@ -623,8 +624,8 @@ by \"Save Options\" in Custom buffers.")
623 (let ((set (or (get ',variable 'custom-set) 'set-default)) 624 (let ((set (or (get ',variable 'custom-set) 'set-default))
624 (get (or (get ',variable 'custom-get) 'default-value))) 625 (get (or (get ',variable 'custom-get) 'default-value)))
625 (funcall set ',variable (not (funcall get ',variable)))))) 626 (funcall set ',variable (not (funcall get ',variable))))))
626 (message ,message "enabled") 627 (message ,message "enabled globally")
627 (message ,message "disabled")) 628 (message ,message "disabled globally"))
628 ;; The function `customize-mark-as-set' must only be called when 629 ;; The function `customize-mark-as-set' must only be called when
629 ;; a variable is set interactively, as the purpose is to mark it as 630 ;; a variable is set interactively, as the purpose is to mark it as
630 ;; a candidate for "Save Options", and we do not want to save options 631 ;; a candidate for "Save Options", and we do not want to save options
@@ -814,7 +815,7 @@ mail status in mode line"))
814 (menu-bar-make-toggle toggle-indicate-empty-lines indicate-empty-lines 815 (menu-bar-make-toggle toggle-indicate-empty-lines indicate-empty-lines
815 "Empty Line Indicators" 816 "Empty Line Indicators"
816 "Indicating of empty lines %s" 817 "Indicating of empty lines %s"
817 "Indicate trailing empty lines in fringe")) 818 "Indicate trailing empty lines in fringe, globally"))
818 819
819(defun menu-bar-showhide-fringe-menu-customize () 820(defun menu-bar-showhide-fringe-menu-customize ()
820 "Show customization buffer for `fringe-mode'." 821 "Show customization buffer for `fringe-mode'."
@@ -1019,8 +1020,8 @@ mail status in mode line"))
1019(define-key menu-bar-options-menu [case-fold-search] 1020(define-key menu-bar-options-menu [case-fold-search]
1020 (menu-bar-make-toggle toggle-case-fold-search case-fold-search 1021 (menu-bar-make-toggle toggle-case-fold-search case-fold-search
1021 "Case-Insensitive Search" 1022 "Case-Insensitive Search"
1022 "Case-Insensitive Search %s for buffers without local setting" 1023 "Case-Insensitive Search %s"
1023 "Ignore letter-case in search for buffers without local setting")) 1024 "Globally ignore letter-case in search"))
1024 1025
1025(defun menu-bar-text-mode-auto-fill () 1026(defun menu-bar-text-mode-auto-fill ()
1026 (interactive) 1027 (interactive)