Index: auctex/tex-buf.el
diff -u auctex/tex-buf.el:1.233 auctex/tex-buf.el:1.234
--- auctex/tex-buf.el:1.233 Sat Jun 11 19:28:44 2005
+++ auctex/tex-buf.el Sun Jun 12 09:37:46 2005
@@ -370,9 +370,14 @@
(regexp-quote
(expand-file-name
(file-name-as-directory dir))))
- TeX-check-path "\\|")
+ (append (when (file-name-directory name)
+ (list (file-name-directory name)))
+ TeX-check-path)
+ "\\|")
"\\).*\\("
- (mapconcat 'regexp-quote (cons name (TeX-style-list))
"\\|")
+ (mapconcat 'regexp-quote
+ (cons (file-name-nondirectory name)
+ (TeX-style-list)) "\\|")
"\\)\\.\\("
(mapconcat 'regexp-quote TeX-file-extensions "\\|")
"\\)\\'"))
_______________________________________________
auctex-diffs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/auctex-diffs