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.
This commit is contained in:
Lars Ingebrigtsen 2020-12-25 22:44:56 +01:00
parent 443a53874b
commit d18b1c8c75

View file

@ -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)