# HG changeset patch # User Carsten Dominik # Date 1140592854 0 # Node ID eaa1a08589a4dd8b1c6a3e5d9664d4e2fb5326ac # Parent 19aab61999713485bab219bbff6362fbea3fd2de (reftex-try-all-extensions): New option. diff -r 19aab6199971 -r eaa1a08589a4 lisp/textmodes/reftex-vars.el --- a/lisp/textmodes/reftex-vars.el Wed Feb 22 07:15:38 2006 +0000 +++ b/lisp/textmodes/reftex-vars.el Wed Feb 22 07:20:54 2006 +0000 @@ -3,7 +3,7 @@ ;; 2006 Free Software Foundation, Inc. ;; Author: Carsten Dominik -;; Version: VERSIONTAG +;; Version: 4.31 ;; This file is part of GNU Emacs. @@ -1555,6 +1555,18 @@ :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