]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/startup.el (comp-eln-load-path): Silence a warning.
authorAndrea Corallo <akrl@sdf.org>
Sun, 25 Apr 2021 18:56:32 +0000 (20:56 +0200)
committerAndrea Corallo <akrl@sdf.org>
Sun, 25 Apr 2021 18:58:37 +0000 (20:58 +0200)
lisp/startup.el

index 89d4c8ae31de99920b83693ab379d9f9d7a05c1d..a21372a046358421abadb419056b64d433eb4c70 100644 (file)
@@ -519,6 +519,7 @@ DIRS are relative."
       xdg-dir)
      (t emacs-d-dir))))
 
+(defvar comp-eln-load-path)
 (defun normal-top-level ()
   "Emacs calls this function when it first starts up.
 It sets `command-line-processed', processes the command-line,
@@ -538,7 +539,6 @@ It is the default value of the variable `top-level'."
 
     (when (featurep 'nativecomp)
       ;; Form `comp-eln-load-path'.
-      (defvar comp-eln-load-path)
       (let ((path-env (getenv "EMACSNATIVELOADPATH")))
         (when path-env
           (dolist (path (split-string path-env path-separator))