]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/startup.el (command-line): Clean-up logic for new .eln disposition.
authorAndrea Corallo <akrl@sdf.org>
Sat, 29 Aug 2020 13:10:37 +0000 (15:10 +0200)
committerAndrea Corallo <akrl@sdf.org>
Sat, 29 Aug 2020 14:08:03 +0000 (16:08 +0200)
lisp/startup.el

index 0a81c878af8a3c1303a7d2307c00c840bacbb9ab..e39df7568caf8fdc9d495a9b50237b37bc90df00 100644 (file)
@@ -1059,12 +1059,7 @@ please check its value")
          (unless (file-readable-p lispdir)
            (princ (format "Lisp directory %s not readable?" lispdir))
            (terpri)))
-      (setq lisp-dir
-            (file-truename
-             (if (string-match "\\.eln\\'" simple-file-name)
-                 (expand-file-name
-                  (concat (file-name-directory simple-file-name) "../"))
-               (file-name-directory simple-file-name))))
+      (setq lisp-dir (file-truename (file-name-directory simple-file-name)))
       (setq load-history
            (mapcar (lambda (elt)
                      (if (and (stringp (car elt))