# HG changeset patch # User YAMAMOTO Mitsuharu # Date 1188203572 0 # Node ID 740c901aba1a05a7695cb2d1371a482e240d8e84 # Parent 90908a118cf2573e5fb9e5d48da8a2f80aed7882 (mac-handle-toolbar-switch-mode): Add explicit argument to tool-bar-mode call. diff -r 90908a118cf2 -r 740c901aba1a lisp/term/mac-win.el --- 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)