mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 12:21:25 -08:00
(mac-handle-toolbar-switch-mode): Add explicit
argument to tool-bar-mode call.
This commit is contained in:
parent
4b34031944
commit
8a2e0b2a69
2 changed files with 7 additions and 2 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2007-08-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
|
||||
|
||||
* term/mac-win.el (mac-handle-toolbar-switch-mode): Add explicit
|
||||
argument to tool-bar-mode call.
|
||||
|
||||
2007-08-27 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* diff-mode.el (diff-find-file-name): Only accept regular files,
|
||||
|
|
|
|||
|
|
@ -1798,12 +1798,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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue