]> git.eshelyaron.com Git - emacs.git/commitdiff
(reftex-try-all-extensions): New option.
authorCarsten Dominik <dominik@science.uva.nl>
Wed, 22 Feb 2006 07:20:54 +0000 (07:20 +0000)
committerCarsten Dominik <dominik@science.uva.nl>
Wed, 22 Feb 2006 07:20:54 +0000 (07:20 +0000)
lisp/textmodes/reftex-vars.el

index b8eddcd0386f4823df7a2a31d6e3126de22f8cb4..e866b03626f9abc1811564a505d68d3078f73221 100644 (file)
@@ -3,7 +3,7 @@
 ;;   2006 Free Software Foundation, Inc.
 
 ;; Author: Carsten Dominik <dominik@science.uva.nl>
-;; Version: VERSIONTAG
+;; Version: 4.31
 
 ;; This file is part of GNU Emacs.
 
@@ -1555,6 +1555,18 @@ TeX-file-extensions."
   :type '(repeat (cons (string :tag "File type")
                        (repeat (string :tag "Extension")))))
 
+(defcustom reftex-try-all-extensions nil
+  "Non-nil means, try all extensions listed in `reftex-file-extensions'.
+When searching for a file, LaTeX uses only the default extension.  However,
+if you are working with a noweb system that produces the .tex files from
+some other file, and you want RefTeX to scan the web file instead of the
+tex file, you need to set this option.  You also need to make the noweb
+extension the default extension, i.e. the first in the list in
+`reftex-file-extensions'.
+Note that if you are using external file finders, this option has no effect."
+  :group 'reftex-finding-files
+  :type 'boolean)
+
 (defcustom reftex-search-unrecursed-path-first t
   "*Non-nil means, search all specified directories before trying recursion.
 Thus, in a path \".//:/tex/\", search first \"./\", then \"/tex/\" and then