Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
8a2e0b2a
Commit
8a2e0b2a
authored
Aug 27, 2007
by
YAMAMOTO Mitsuharu
Browse files
(mac-handle-toolbar-switch-mode): Add explicit
argument to tool-bar-mode call.
parent
4b340319
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/term/mac-win.el
lisp/term/mac-win.el
+2
-2
No files found.
lisp/ChangeLog
View file @
8a2e0b2a
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,
...
...
lisp/term/mac-win.el
View file @
8a2e0b2a
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment