comparison lisp/emacs-lisp/autoload.el @ 59427:847ceead54c3

Comment changes.
author Richard M. Stallman <rms@gnu.org>
date Sun, 09 Jan 2005 00:30:53 +0000
parents 52307ec50b54
children 64c207ce6c20 cb67264d6096
comparison
equal deleted inserted replaced
59426:555fd4d8a08e 59427:847ceead54c3
133 ;; the doc-string in FORM. 133 ;; the doc-string in FORM.
134 ;; Those properties are now set in lisp-mode.el. 134 ;; Those properties are now set in lisp-mode.el.
135 135
136 136
137 (defun autoload-trim-file-name (file) 137 (defun autoload-trim-file-name (file)
138 ;; Returns a relative pathname of FILE 138 ;; Returns a relative file path for FILE
139 ;; starting from the directory that loaddefs.el is in. 139 ;; starting from the directory that loaddefs.el is in.
140 ;; That is normally a directory in load-path, 140 ;; That is normally a directory in load-path,
141 ;; which means Emacs will be able to find FILE when it looks. 141 ;; which means Emacs will be able to find FILE when it looks.
142 ;; Any extra directory names here would prevent finding the file. 142 ;; Any extra directory names here would prevent finding the file.
143 (setq file (expand-file-name file)) 143 (setq file (expand-file-name file))
271 (done-any nil) 271 (done-any nil)
272 (visited (get-file-buffer file)) 272 (visited (get-file-buffer file))
273 output-end) 273 output-end)
274 274
275 ;; If the autoload section we create here uses an absolute 275 ;; If the autoload section we create here uses an absolute
276 ;; pathname for FILE in its header, and then Emacs is installed 276 ;; file name for FILE in its header, and then Emacs is installed
277 ;; under a different path on another system, 277 ;; under a different path on another system,
278 ;; `update-autoloads-here' won't be able to find the files to be 278 ;; `update-autoloads-here' won't be able to find the files to be
279 ;; autoloaded. So, if FILE is in the same directory or a 279 ;; autoloaded. So, if FILE is in the same directory or a
280 ;; subdirectory of the current buffer's directory, we'll make it 280 ;; subdirectory of the current buffer's directory, we'll make it
281 ;; relative to the current buffer's directory. 281 ;; relative to the current buffer's directory.