aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/emacs-lisp/autoload.el
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1998-04-05 18:47:51 +0000
committerRichard M. Stallman <[email protected]>1998-04-05 18:47:51 +0000
commit68521d611f25a068b1642e5a46cc7b085b7e7dfe (patch)
tree33fc177ee935e2a55afc45198cbd5b2141ffc47c /lisp/emacs-lisp/autoload.el
parentccb141e8e1d5584d29ff0e41c637cfc0a64177e6 (diff)
(update-file-autoloads): Redo 1997-08-23 change.
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 a8e57669de..1a85cd7c68 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)))))
(or (> (buffer-size) 0)
(error "Autoloads file %s does not exist" buffer-file-name))
(or (file-writable-p buffer-file-name)