emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 83a915d: * lisp/startup.el (comp-eln-load-path): Silence a warnin


From: Andrea Corallo
Subject: master 83a915d: * lisp/startup.el (comp-eln-load-path): Silence a warning.
Date: Sun, 25 Apr 2021 14:59:11 -0400 (EDT)

branch: master
commit 83a915d3dfafd5f3d737afe1e13b75e4dd3aef96
Author: Andrea Corallo <akrl@sdf.org>
Commit: Andrea Corallo <akrl@sdf.org>

    * lisp/startup.el (comp-eln-load-path): Silence a warning.
---
 lisp/startup.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/startup.el b/lisp/startup.el
index 89d4c8a..a21372a 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]