Mercurial > emacs
changeset 78679:740c901aba1a
(mac-handle-toolbar-switch-mode): Add explicit
argument to tool-bar-mode call.
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Mon, 27 Aug 2007 08:32:52 +0000 |
parents | 90908a118cf2 |
children | e838385a9cef |
files | lisp/term/mac-win.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/term/mac-win.el Mon Aug 27 08:32:36 2007 +0000 +++ b/lisp/term/mac-win.el Mon Aug 27 08:32:52 2007 +0000 @@ -1785,12 +1785,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)