Mercurial > emacs
changeset 45674:0ddf92221535
(bookmark-file-or-variation-thereof): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 08 Jun 2002 10:42:54 +0000 |
parents | fc6d3747add1 |
children | 9af38e461835 |
files | lisp/bookmark.el |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/bookmark.el Sat Jun 08 03:33:09 2002 +0000 +++ b/lisp/bookmark.el Sat Jun 08 10:42:54 2002 +0000 @@ -1072,8 +1072,9 @@ (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 @@ Info-suffix-list) nil))) - (defun bookmark-jump-noselect (str) ;; a leetle helper for bookmark-jump :-) ;; returns (BUFFER . POINT)