emacs-diffs
[Top][All Lists]
Advanced

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

master d18b1c8: Fix package reloading problems on systems with symlinks


From: Lars Ingebrigtsen
Subject: master d18b1c8: Fix package reloading problems on systems with symlinks
Date: Fri, 25 Dec 2020 16:45:05 -0500 (EST)

branch: master
commit d18b1c8c7583b981d4f3d687e49e82250d51634f
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix package reloading problems on systems with symlinks
    
    * lisp/emacs-lisp/package.el (package--files-load-history): We're
    comparing the truenames, so ensure that we've using that
    everywhere.  This fixes problems when there's symlinks in the paths.
---
 lisp/emacs-lisp/package.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 0170e61..bc450b0 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -830,7 +830,7 @@ correspond to previously loaded files (those returned by
         (mapcar (lambda (x)
                   (let ((f (car x)))
                     (and (stringp f)
-                         (file-name-sans-extension f))))
+                         (file-name-sans-extension (file-truename f)))))
                 load-history)))
 
 (defun package--list-of-conflicts (dir history)



reply via email to

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