summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2016-01-06 20:36:46 -0500
committerGlenn Morris <rgm@gnu.org>2016-01-06 20:36:46 -0500
commit76fe2d526e7d4257f8c8855084bf172065aea2d1 (patch)
tree76ad897c4496227ea70c05edb089d69afc8b4e59 /lisp/emacs-lisp
parent1ae088fba76c9021a0d9744e303b7e7a2386a6e6 (diff)
downloademacs-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.el3
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))