Index: auctex/tex.el
diff -u auctex/tex.el:5.507 auctex/tex.el:5.508
--- auctex/tex.el:5.507 Fri Apr 29 13:19:45 2005
+++ auctex/tex.el Sun May 1 10:47:34 2005
@@ -1572,12 +1572,14 @@
(file-name-directory
(file-relative-name TeX-master))
"./"))
- (TeX-style-path (append (list (concat dir TeX-auto-local)
- (concat master-dir
- TeX-auto-local)
- (concat dir TeX-style-local)
- (concat master-dir
- TeX-style-local))
+ (TeX-style-path (append (list (expand-filename
+ TeX-auto-local dir)
+ (expand-filename
+ TeX-auto-local master-dir)
+ (expand-filename
+ TeX-style-local dir)
+ (expand-filename
+ TeX-style-local master-dir))
TeX-style-path)))
(TeX-load-style style)))
(t ;Relative path
@@ -1585,7 +1587,7 @@
(setq TeX-style-hook-list (cons (list style) TeX-style-hook-list))
;; Now check each element of the path
(dolist (name TeX-style-path)
- (TeX-load-style-file (expand-file-name name style))))))
+ (TeX-load-style-file (expand-file-name style name))))))
(defun TeX-load-style-file (file)
"Load FILE checking for a Lisp extensions."
_______________________________________________
auctex-diffs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/auctex-diffs