summaryrefslogtreecommitdiff
path: root/lisp/term
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2007-08-27 08:33:14 +0000
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2007-08-27 08:33:14 +0000
commita225da012cf8f41c6978dc2fd884be23792adb76 (patch)
tree204b18be6678fc1da7d4b9d35bcdcd4a2bba9259 /lisp/term
parenta186cc54a2edf492b8dd4c615af7872e0e0c4e58 (diff)
downloademacs-a225da012cf8f41c6978dc2fd884be23792adb76.tar.gz
(mac-handle-toolbar-switch-mode): Add explicit
argument to tool-bar-mode call.
Diffstat (limited to 'lisp/term')
-rw-r--r--lisp/term/mac-win.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/term/mac-win.el b/lisp/term/mac-win.el
index 2e03b8517b5..314989906dd 100644
--- a/lisp/term/mac-win.el
+++ b/lisp/term/mac-win.el
@@ -1785,12 +1785,12 @@ Currently the `mailto' scheme is supported."
"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)