diff lisp/term/mac-win.el @ 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 030ae62d5c57
children b30434cc691a
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)