diff --git a/lisp/startup.el b/lisp/startup.el index 09663f64584..830aec9a09c 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -778,6 +778,9 @@ It is the default value of the variable `top-level'." (unwind-protect (command-line) + (when (featurep 'native-compile) + (startup--update-eln-cache)) + ;; Do this again, in case .emacs defined more abbreviations. (if default-directory (setq default-directory (abbreviate-file-name default-directory)))