summaryrefslogtreecommitdiff
path: root/lisp/cus-dep.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/cus-dep.el')
-rw-r--r--lisp/cus-dep.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/cus-dep.el b/lisp/cus-dep.el
index f0b108b77d6..e2b73513bd5 100644
--- a/lisp/cus-dep.el
+++ b/lisp/cus-dep.el
@@ -109,6 +109,7 @@ Usage: emacs -batch -l ./cus-dep.el -f custom-make-dependencies DIRS"
(string-match "\\`\\(.*\\)\\.el\\'" file)
(let ((name (or generated-autoload-load-name ; see bug#5277
(file-name-nondirectory (match-string 1 file))))
+ (load-true-file-name file)
(load-file-name file))
(if (save-excursion
(re-search-forward