]> git.eshelyaron.com Git - emacs.git/commitdiff
(normal-top-level): Call font-menu-add-default.
authorRichard M. Stallman <rms@gnu.org>
Mon, 26 Jul 1993 20:03:00 +0000 (20:03 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 26 Jul 1993 20:03:00 +0000 (20:03 +0000)
lisp/startup.el

index d6d984fc8397afbcb0d15bb19cd94f777d182368..249c1d907154298f9ed00abcb00fdb5a516ccf31 100644 (file)
@@ -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)))))