comparison lisp/emacs-lisp/autoload.el @ 19482:ec8fe53ace41

(update-file-autoloads): Be careful about which directory to find loaddefs.el in.
author Richard M. Stallman <rms@gnu.org>
date Sat, 23 Aug 1997 05:32:56 +0000
parents 50857b41060a
children 297fefd12ecf
comparison
equal deleted inserted replaced
19481:4d492290e085 19482:ec8fe53ace41
308 ;; the local variables section if it's there. 308 ;; the local variables section if it's there.
309 (if existing-buffer 309 (if existing-buffer
310 (set-buffer existing-buffer)) 310 (set-buffer existing-buffer))
311 ;; We must read/write the file without any code conversion. 311 ;; We must read/write the file without any code conversion.
312 (let ((coding-system-for-read 'no-conversion)) 312 (let ((coding-system-for-read 'no-conversion))
313 (set-buffer (find-file-noselect generated-autoload-file))) 313 (set-buffer (find-file-noselect
314 (expand-file-name generated-autoload-file
315 (expand-file-name "lisp"
316 source-directory)))))
314 (save-excursion 317 (save-excursion
315 (save-restriction 318 (save-restriction
316 (widen) 319 (widen)
317 (goto-char (point-min)) 320 (goto-char (point-min))
318 ;; Look for the section for LOAD-NAME. 321 ;; Look for the section for LOAD-NAME.