aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/emacs-lisp/autoload.el
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1997-08-23 05:32:56 +0000
committerRichard M. Stallman <[email protected]>1997-08-23 05:32:56 +0000
commit9ee65d3171043c1435f871ce9db56330fdf6e007 (patch)
treeab0e17ba6dc51c61cb9fb0e9c76cfe2dfd367050 /lisp/emacs-lisp/autoload.el
parent961a48db364e6695da9258c6a5b67e54fa3056c7 (diff)
(update-file-autoloads):
Be careful about which directory to find loaddefs.el in.
Diffstat (limited to 'lisp/emacs-lisp/autoload.el')
-rw-r--r--lisp/emacs-lisp/autoload.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el
index adc8b6fb22..9ae7188120 100644
--- a/lisp/emacs-lisp/autoload.el
+++ b/lisp/emacs-lisp/autoload.el
@@ -310,7 +310,10 @@ are used."
(set-buffer existing-buffer))
;; We must read/write the file without any code conversion.
(let ((coding-system-for-read 'no-conversion))
- (set-buffer (find-file-noselect generated-autoload-file)))
+ (set-buffer (find-file-noselect
+ (expand-file-name generated-autoload-file
+ (expand-file-name "lisp"
+ source-directory)))))
(save-excursion
(save-restriction
(widen)