]> git.eshelyaron.com Git - emacs.git/commitdiff
(compilation-find-file): Doc fix.
authorEli Zaretskii <eliz@gnu.org>
Sat, 9 Feb 2008 14:34:45 +0000 (14:34 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 9 Feb 2008 14:34:45 +0000 (14:34 +0000)
lisp/ChangeLog
lisp/progmodes/compile.el

index 27a2e5979ff389000696197b91efac3df506b9dc..c1cd83312bc2cb5e8c62c2bdcd637c568d8b8254 100644 (file)
@@ -1,6 +1,7 @@
 2008-02-09  Eli Zaretskii  <eliz@gnu.org>
 
        * progmodes/compile.el (compilation-next-error): Doc fix.
+       (compilation-find-file): Doc fix.
 
 2008-02-09  Glenn Morris  <rgm@gnu.org>
 
index bd7302a5a7ef8285b0b64cd502537cf4bf6e1044..7f87dbcd6b11332ea0f8f7f0d104cc41af7bbd23 100644 (file)
@@ -1848,13 +1848,17 @@ and overlay is highlighted between MK and END-MK."
 \f
 (defun compilation-find-file (marker filename directory &rest formats)
   "Find a buffer for file FILENAME.
+If FILENAME is not found at all, ask the user where to find it.
+Pop up the buffer containing MARKER and scroll to MARKER if we ask
+the user where to find the file.
 Search the directories in `compilation-search-path'.
 A nil in `compilation-search-path' means to try the
 \"current\" directory, which is passed in DIRECTORY.
 If DIRECTORY is relative, it is combined with `default-directory'.
 If DIRECTORY is nil, that means use `default-directory'.
-If FILENAME is not found at all, ask the user where to find it.
-Pop up the buffer containing MARKER and scroll to MARKER if we ask the user."
+FORMATS, if given, is a list of formats to reformat FILENAME when
+looking for it: for each element FMT in FORMATS, this function
+attempts to find a file whose name is produced by (format FMT FILENAME)."
   (or formats (setq formats '("%s")))
   (let ((dirs compilation-search-path)
         (spec-dir (if directory