]> git.eshelyaron.com Git - emacs.git/commitdiff
(bookmark-file-or-variation-thereof): Doc fix.
authorRichard M. Stallman <rms@gnu.org>
Sat, 8 Jun 2002 10:42:54 +0000 (10:42 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 8 Jun 2002 10:42:54 +0000 (10:42 +0000)
lisp/bookmark.el

index c3bab39ba3d33b5bd5354315c850056e8628f32a..5d56d9ca31f1944a06604be7361bfc456061c9e1 100644 (file)
@@ -1072,8 +1072,9 @@ of the old one in the permanent bookmark record."
 
 
 (defun bookmark-file-or-variation-thereof (file)
-  "Return FILE if it exists, or return the first variation based on
-`Info-suffix-list' that exists, else return nil."
+  "Return FILE (a string) or a reasonable variation that exists, else nil.
+Reasonable variations of the name are made by appending suffixes defined
+in `Info-suffix-list'."
   (if (file-exists-p file)
       file
     (require 'info)  ; ensure Info-suffix-list is bound
@@ -1085,7 +1086,6 @@ of the old one in the permanent bookmark record."
             Info-suffix-list)
       nil)))
 
-
 (defun bookmark-jump-noselect (str)
   ;; a leetle helper for bookmark-jump :-)
   ;; returns (BUFFER . POINT)