Commit 13ab33c4 authored by Miles Bader's avatar Miles Bader
Browse files

(normal-top-level):

  Call `frame-set-background-mode' after `frame-notice-user-settings'
  because the latter doesn't call the former on a tty.
parent d8abcd91
2000-10-19 Miles Bader <miles@lsi.nec.co.jp>
* startup.el (normal-top-level): Call `frame-set-background-mode'
after `frame-notice-user-settings' because the latter doesn't call
the former on a tty.
* faces.el (frame-set-background-mode): `unspecified' &c are
symbols, not strings.
......
......@@ -473,6 +473,13 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'."
;; ...-frame-alist.
(if (fboundp 'frame-notice-user-settings)
(frame-notice-user-settings))
(if (fboundp 'frame-set-background-mode)
;; Set the faces for the initial background mode even if
;; frame-notice-user-settings didn't (such as on a tty).
;; frame-set-background-mode is idempotent, so it won't
;; cause any harm if it's already been done.
(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)
(font-menu-add-default))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment