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
6a1e7d67
Commit
6a1e7d67
authored
Jul 10, 2001
by
Gerd Moellmann
Browse files
(normal-top-level): Don't operate on the initial
frame if we failed to create one.
parent
30a7ac22
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
25 deletions
+29
-25
lisp/startup.el
lisp/startup.el
+29
-25
No files found.
lisp/startup.el
View file @
6a1e7d67
...
...
@@ -470,6 +470,10 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'."
(
run-hooks
'emacs-startup-hook
)
(
and
term-setup-hook
(
run-hooks
'term-setup-hook
))
;; Don't do this if we failed to create the initial frame,
;; for instance due to a dense colormap.
(
when
frame-initial-frame
;; Modify the initial frame based on what .emacs puts into
;; ...-frame-alist.
(
if
(
fboundp
'frame-notice-user-settings
)
...
...
@@ -494,7 +498,7 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'."
(
if
(
string-match
"^\\(xterm\\|rxvt\\|dtterm\\|eterm\\)"
term
)
(
setq
frame-background-mode
'light
)))
(
frame-set-background-mode
(
selected-frame
))))
(
frame-set-background-mode
(
selected-frame
))))
)
;; Now we know the user's default font, so add it to the menu.
(
if
(
fboundp
'font-menu-add-default
)
...
...
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