# HG changeset patch # User YAMAMOTO Mitsuharu # Date 1188203413 0 # Node ID 273d8da82439af829b75d092bc92349419c6bb50 # Parent 3787853fd157186789bc139cf20518915b7e412b (mac-handle-toolbar-switch-mode): Add explicit argument to tool-bar-mode call. diff -r 3787853fd157 -r 273d8da82439 lisp/term/mac-win.el --- a/lisp/term/mac-win.el Mon Aug 27 08:29:51 2007 +0000 +++ b/lisp/term/mac-win.el Mon Aug 27 08:30:13 2007 +0000 @@ -1798,12 +1798,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)