summaryrefslogtreecommitdiff
path: root/lisp/startup.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-07-26 20:03:00 +0000
committerRichard M. Stallman <rms@gnu.org>1993-07-26 20:03:00 +0000
commitf40e49873451c78414b30e271773cef07f667372 (patch)
tree4b97e9e2d9e9f973fd539158883520461336bad3 /lisp/startup.el
parent3f2e66db1552485953059cff1fadb6066d7e37b7 (diff)
downloademacs-f40e49873451c78414b30e271773cef07f667372.tar.gz
(normal-top-level): Call font-menu-add-default.
Diffstat (limited to 'lisp/startup.el')
-rw-r--r--lisp/startup.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index d6d984fc839..249c1d90715 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -148,8 +148,13 @@ directory name of the directory where the `.emacs' file was looked for.")
(run-hooks 'emacs-startup-hook)
(and term-setup-hook
(run-hooks 'term-setup-hook))
+ ;; Modify the initial frame based on what .emacs puts into
+ ;; ...-frame-alist.
(if (fboundp 'frame-notice-user-settings)
(frame-notice-user-settings))
+ ;; Now we know the user's default font, so add it to the menu.
+ (if (fboundp 'font-menu-add-default)
+ (font-menu-add-default))
(and window-setup-hook
(run-hooks 'window-setup-hook)))))