Variable: reftex-search-unrecursed-path-first
reftex-search-unrecursed-path-first is a customizable variable defined
in reftex-vars.el.gz.
Value
t
Documentation
Non-nil means, search all specified directories before trying recursion.
Thus, in a path ".//:/tex/", search first "./", then "/tex/" and then
all subdirectories of "./". If this option is nil, the subdirectories of
"./" are searched before "/tex/". This is mainly for speed - most of the
time the recursive path is for the system files and not for the user files.
Set this to nil if the default makes RefTeX finding files with equal names
in wrong sequence.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/reftex-vars.el.gz
(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
all subdirectories of \"./\". If this option is nil, the subdirectories of
\"./\" are searched before \"/tex/\". This is mainly for speed - most of the
time the recursive path is for the system files and not for the user files.
Set this to nil if the default makes RefTeX finding files with equal names
in wrong sequence."
:group 'reftex-finding-files
:type 'boolean)