[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/menu-bar.el
From: |
Simon Josefsson |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/menu-bar.el |
Date: |
Sun, 30 Jun 2002 17:29:40 -0400 |
Index: emacs/lisp/menu-bar.el
diff -c emacs/lisp/menu-bar.el:1.222 emacs/lisp/menu-bar.el:1.223
*** emacs/lisp/menu-bar.el:1.222 Wed Jun 12 09:55:59 2002
--- emacs/lisp/menu-bar.el Sun Jun 30 17:29:39 2002
***************
*** 864,870 ****
"Case-Insensitive Search %s"
"Ignore letter-case in search"))
(define-key menu-bar-options-menu [auto-fill-mode]
! '(menu-item "Word Wrap in Text Modes (Auto Fill)"
(lambda ()
(interactive)
(toggle-text-mode-auto-fill)
--- 864,870 ----
"Case-Insensitive Search %s"
"Ignore letter-case in search"))
(define-key menu-bar-options-menu [auto-fill-mode]
! '(menu-item "Word Wrap in Text Modes"
(lambda ()
(interactive)
(toggle-text-mode-auto-fill)
***************
*** 872,878 ****
;; might have changed outside customize.
;; -- Per Abrahamsen <address@hidden> 2002-02-11.
(customize-mark-as-set 'text-mode-hook))
! :help "Automatically fill text between left and right margins"
:button (:toggle . (if (listp text-mode-hook)
(member 'turn-on-auto-fill text-mode-hook)
(eq 'turn-on-auto-fill text-mode-hook)))))
--- 872,878 ----
;; might have changed outside customize.
;; -- Per Abrahamsen <address@hidden> 2002-02-11.
(customize-mark-as-set 'text-mode-hook))
! :help "Automatically fill text between left and right margins
(Auto Fill)"
:button (:toggle . (if (listp text-mode-hook)
(member 'turn-on-auto-fill text-mode-hook)
(eq 'turn-on-auto-fill text-mode-hook)))))
***************
*** 891,910 ****
'("--"))
(define-key menu-bar-options-menu [highlight-paren-mode]
(menu-bar-make-toggle toggle-highlight-paren-mode show-paren-mode
! "Paren Match Highlighting (Show Paren mode)"
"Show Paren mode %s"
! "Highlight matching/mismatched parentheses at cursor"))
(define-key menu-bar-options-menu [transient-mark-mode]
(menu-bar-make-toggle toggle-transient-mark-mode transient-mark-mode
! "Active Region Highlighting (Transient Mark mode)"
"Transient Mark mode %s"
! "Make text in active region stand out in color"
(:enable (not cua-mode))))
(define-key menu-bar-options-menu [toggle-global-lazy-font-lock-mode]
(menu-bar-make-toggle toggle-global-lazy-font-lock-mode
global-font-lock-mode
! "Syntax Highlighting (Global Font Lock mode)"
"Global Font Lock mode %s"
! "Colorize text based on language syntax"))
;; The "Tools" menu items
--- 891,910 ----
'("--"))
(define-key menu-bar-options-menu [highlight-paren-mode]
(menu-bar-make-toggle toggle-highlight-paren-mode show-paren-mode
! "Paren Match Highlighting"
"Show Paren mode %s"
! "Highlight matching/mismatched parentheses at cursor
(Show Paren mode)"))
(define-key menu-bar-options-menu [transient-mark-mode]
(menu-bar-make-toggle toggle-transient-mark-mode transient-mark-mode
! "Active Region Highlighting"
"Transient Mark mode %s"
! "Make text in active region stand out in color
(Transient Mark mode)"
(:enable (not cua-mode))))
(define-key menu-bar-options-menu [toggle-global-lazy-font-lock-mode]
(menu-bar-make-toggle toggle-global-lazy-font-lock-mode
global-font-lock-mode
! "Syntax Highlighting"
"Global Font Lock mode %s"
! "Colorize text based on language syntax (Global Font
Lock mode)"))
;; The "Tools" menu items