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
7d1eb6a4
Commit
7d1eb6a4
authored
Sep 21, 2000
by
Gerd Moellmann
Browse files
(command-line): If frame was created with a non-zero
tool-bar-lines parameter, switch tool-bar-mode on.
parent
80585273
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
lisp/startup.el
lisp/startup.el
+6
-0
No files found.
lisp/startup.el
View file @
7d1eb6a4
...
...
@@ -652,6 +652,12 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'."
(
>
(
cdr
(
assq
'menu-bar-lines
(
frame-parameters
)))
0
)))
(
menu-bar-mode
t
))
;; If frame was created with a tool bar, switch tool-bar-mode on.
(
when
(
and
(
not
noninteractive
)
(
memq
window-system
'
(
x
w32
))
(
>
(
frame-parameter
nil
'tool-bar-lines
)
0
))
(
tool-bar-mode
t
))
;; Can't do this init in defcustom because window-system isn't set.
(
when
(
and
(
not
noninteractive
)
(
not
(
eq
system-type
'ms-dos
))
...
...
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