diff options
author | Glenn Morris <rgm@gnu.org> | 2016-01-06 20:36:46 -0500 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2016-01-06 20:36:46 -0500 |
commit | 76fe2d526e7d4257f8c8855084bf172065aea2d1 (patch) | |
tree | 76ad897c4496227ea70c05edb089d69afc8b4e59 /lisp/emacs-lisp | |
parent | 1ae088fba76c9021a0d9744e303b7e7a2386a6e6 (diff) | |
download | emacs-76fe2d526e7d4257f8c8855084bf172065aea2d1.tar.gz emacs-76fe2d526e7d4257f8c8855084bf172065aea2d1.tar.bz2 emacs-76fe2d526e7d4257f8c8855084bf172065aea2d1.zip |
* lisp/emacs-lisp/autoload.el (autoload-find-destination): Doc fix.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/autoload.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el index eed72655d18..e688d6be725 100644 --- a/lisp/emacs-lisp/autoload.el +++ b/lisp/emacs-lisp/autoload.el @@ -682,8 +682,9 @@ Return FILE if there was no autoload cookie in it, else nil." (defun autoload-find-destination (file load-name) "Find the destination point of the current buffer's autoloads. FILE is the file name of the current buffer. +LOAD-NAME is the name as it appears in the output. Returns a buffer whose point is placed at the requested location. -Returns nil if the file's autoloads are uptodate, otherwise +Returns nil if the file's autoloads are up-to-date, otherwise removes any prior now out-of-date autoload entries." (catch 'up-to-date (let* ((buf (current-buffer)) |