aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Josefsson2002-06-30 21:29:39 +0000
committerSimon Josefsson2002-06-30 21:29:39 +0000
commit6b285f6079f13567ba5ac5f7c269fcce371ccf40 (patch)
tree84f300366d4612f3cdffed6b6cf161104709b0a9
parent525fdbc9c89cde92736181df532d0ec2a7f2e558 (diff)
downloademacs-6b285f6079f13567ba5ac5f7c269fcce371ccf40.tar.gz
emacs-6b285f6079f13567ba5ac5f7c269fcce371ccf40.zip
2002-06-30 Simon Josefsson <jas@extundo.com>
* menu-bar.el (menu-bar-options-menu): Move elisp mode names from menu entry into balloon help.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/menu-bar.el16
2 files changed, 13 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 1a7d93ab424..113091548d2 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12002-06-30 Simon Josefsson <jas@extundo.com>
2
3 * menu-bar.el (menu-bar-options-menu): Move elisp mode names from
4 menu entry into balloon help.
5
12002-06-30 Andreas Schwab <schwab@suse.de> 62002-06-30 Andreas Schwab <schwab@suse.de>
2 7
3 * files.el (directory-free-space-args): Don't use `-P' on Darwin. 8 * files.el (directory-free-space-args): Don't use `-P' on Darwin.
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index 8fd17c16329..ed79718db48 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -864,7 +864,7 @@ Do the same for the keys of the same name."
864 "Case-Insensitive Search %s" 864 "Case-Insensitive Search %s"
865 "Ignore letter-case in search")) 865 "Ignore letter-case in search"))
866(define-key menu-bar-options-menu [auto-fill-mode] 866(define-key menu-bar-options-menu [auto-fill-mode]
867 '(menu-item "Word Wrap in Text Modes (Auto Fill)" 867 '(menu-item "Word Wrap in Text Modes"
868 (lambda () 868 (lambda ()
869 (interactive) 869 (interactive)
870 (toggle-text-mode-auto-fill) 870 (toggle-text-mode-auto-fill)
@@ -872,7 +872,7 @@ Do the same for the keys of the same name."
872 ;; might have changed outside customize. 872 ;; might have changed outside customize.
873 ;; -- Per Abrahamsen <abraham@dina.kvl.dk> 2002-02-11. 873 ;; -- Per Abrahamsen <abraham@dina.kvl.dk> 2002-02-11.
874 (customize-mark-as-set 'text-mode-hook)) 874 (customize-mark-as-set 'text-mode-hook))
875 :help "Automatically fill text between left and right margins" 875 :help "Automatically fill text between left and right margins (Auto Fill)"
876 :button (:toggle . (if (listp text-mode-hook) 876 :button (:toggle . (if (listp text-mode-hook)
877 (member 'turn-on-auto-fill text-mode-hook) 877 (member 'turn-on-auto-fill text-mode-hook)
878 (eq 'turn-on-auto-fill text-mode-hook))))) 878 (eq 'turn-on-auto-fill text-mode-hook)))))
@@ -891,20 +891,20 @@ Do the same for the keys of the same name."
891 '("--")) 891 '("--"))
892(define-key menu-bar-options-menu [highlight-paren-mode] 892(define-key menu-bar-options-menu [highlight-paren-mode]
893 (menu-bar-make-toggle toggle-highlight-paren-mode show-paren-mode 893 (menu-bar-make-toggle toggle-highlight-paren-mode show-paren-mode
894 "Paren Match Highlighting (Show Paren mode)" 894 "Paren Match Highlighting"
895 "Show Paren mode %s" 895 "Show Paren mode %s"
896 "Highlight matching/mismatched parentheses at cursor")) 896 "Highlight matching/mismatched parentheses at cursor (Show Paren mode)"))
897(define-key menu-bar-options-menu [transient-mark-mode] 897(define-key menu-bar-options-menu [transient-mark-mode]
898 (menu-bar-make-toggle toggle-transient-mark-mode transient-mark-mode 898 (menu-bar-make-toggle toggle-transient-mark-mode transient-mark-mode
899 "Active Region Highlighting (Transient Mark mode)" 899 "Active Region Highlighting"
900 "Transient Mark mode %s" 900 "Transient Mark mode %s"
901 "Make text in active region stand out in color" 901 "Make text in active region stand out in color (Transient Mark mode)"
902 (:enable (not cua-mode)))) 902 (:enable (not cua-mode))))
903(define-key menu-bar-options-menu [toggle-global-lazy-font-lock-mode] 903(define-key menu-bar-options-menu [toggle-global-lazy-font-lock-mode]
904 (menu-bar-make-toggle toggle-global-lazy-font-lock-mode global-font-lock-mode 904 (menu-bar-make-toggle toggle-global-lazy-font-lock-mode global-font-lock-mode
905 "Syntax Highlighting (Global Font Lock mode)" 905 "Syntax Highlighting"
906 "Global Font Lock mode %s" 906 "Global Font Lock mode %s"
907 "Colorize text based on language syntax")) 907 "Colorize text based on language syntax (Global Font Lock mode)"))
908 908
909 909
910;; The "Tools" menu items 910;; The "Tools" menu items