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
adf7d3a8
Commit
adf7d3a8
authored
Oct 09, 2000
by
Dave Love
Browse files
(tool-bar-mode): Check whether tool-bar-map
has been initialized before calling tool-bar-setup.
parent
e4ca8f8c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/toolbar/tool-bar.el
lisp/toolbar/tool-bar.el
+5
-1
No files found.
lisp/ChangeLog
View file @
adf7d3a8
2000-10-09 Dave Love <fx@gnu.org>
* toolbar/tool-bar.el (tool-bar-mode): Check whether tool-bar-map
has been initialized before calling tool-bar-setup.
2000-10-09 Eli Zaretskii <eliz@is.elta.co.il>
* menu-bar.el (send-mail-item-name): New function.
...
...
lisp/toolbar/tool-bar.el
View file @
adf7d3a8
...
...
@@ -36,6 +36,8 @@
;; global bar in modes which have `special' as their `mode-class'
;; properlty.)
;; Todo: Somehow make tool bars easily customizable by the naive?
;;; Code:
;;;###autoload
...
...
@@ -60,7 +62,9 @@ conveniently adding tool bar items."
(
if
elt
(
setcdr
elt
lines
)
(
add-to-list
'default-frame-alist
(
cons
'tool-bar-lines
lines
)))))
(
if
(
and
tool-bar-mode
(
display-graphic-p
))
(
if
(
and
tool-bar-mode
(
display-graphic-p
)
(
=
1
(
length
(
default-value
'tool-bar-map
))))
; not yet setup
(
tool-bar-setup
)))
(
defvar
tool-bar-map
(
make-sparse-keymap
)
...
...
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