Mercurial > emacs
diff lisp/term/mac-win.el @ 83676:27d11c1d4e46
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 857-862)
- Update from CVS
- Merge from emacs--rel--22
- Update from CVS: lisp/emacs-lisp/avl-tree.el: New file.
* emacs--rel--22 (patch 97-100)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 246-247)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-38
author | Miles Bader <miles@gnu.org> |
---|---|
date | Mon, 27 Aug 2007 09:21:49 +0000 |
parents | 2a69b973fae2 273d8da82439 |
children | 727d03075a75 |
line wrap: on
line diff
--- a/lisp/term/mac-win.el Mon Aug 27 08:16:42 2007 +0000 +++ b/lisp/term/mac-win.el Mon Aug 27 09:21:49 2007 +0000 @@ -1801,12 +1801,12 @@ "Toggle visibility of tool-bars in response to EVENT. With no keyboard modifiers, it toggles the visibility of the frame where the tool-bar toggle button was pressed. With some -modifiers, it changes global tool-bar visibility setting." +modifiers, it changes the global tool-bar visibility setting." (interactive "e") (let ((ae (mac-event-ae event))) (if (mac-ae-keyboard-modifiers ae) ;; Globally toggle tool-bar-mode if some modifier key is pressed. - (tool-bar-mode) + (tool-bar-mode 'toggle) (let ((frame (mac-ae-frame ae))) (set-frame-parameter frame 'tool-bar-lines (if (= (frame-parameter frame 'tool-bar-lines) 0)