projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
443a538
)
Fix package reloading problems on systems with symlinks
author
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 25 Dec 2020 21:44:56 +0000
(22:44 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 25 Dec 2020 21:44:56 +0000
(22:44 +0100)
* 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
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/package.el
b/lisp/emacs-lisp/package.el
index 0170e61e126a06266509104182ab55e00d954fb1..bc450b09d015739db4ccee1a04f0fe562f4d2803 100644
(file)
--- 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)