From: Richard M. Stallman Date: Sat, 8 Jun 2002 10:42:54 +0000 (+0000) Subject: (bookmark-file-or-variation-thereof): Doc fix. X-Git-Tag: ttn-vms-21-2-B4~14740 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=99d30b0c06f2975c2933753ad10d09cd796f1cb1;p=emacs.git (bookmark-file-or-variation-thereof): Doc fix. --- diff --git a/lisp/bookmark.el b/lisp/bookmark.el index c3bab39ba3d..5d56d9ca31f 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)