aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2002-06-08 10:42:54 +0000
committerRichard M. Stallman <[email protected]>2002-06-08 10:42:54 +0000
commit99d30b0c06f2975c2933753ad10d09cd796f1cb1 (patch)
tree3caa37b524778275faf0a16241ec85abd3772a7f
parentdd33e6e94bb011a3e6e9be7b00aedc89679f01ee (diff)
(bookmark-file-or-variation-thereof): Doc fix.
-rw-r--r--lisp/bookmark.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/bookmark.el b/lisp/bookmark.el
index c3bab39ba3..5d56d9ca31 100644
--- a/lisp/bookmark.el
+++ b/lisp/bookmark.el
@@ -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)