CVSROOT: /sources/auctex Module name: auctex Changes by: Tassilo Horn <tsdh> 11/08/24 16:24:17
Index: tex.el =================================================================== RCS file: /sources/auctex/auctex/tex.el,v retrieving revision 5.687 retrieving revision 5.688 diff -u -b -r5.687 -r5.688 --- tex.el 24 Aug 2011 07:09:12 -0000 5.687 +++ tex.el 24 Aug 2011 16:24:17 -0000 5.688 @@ -1610,7 +1610,8 @@ (let* ((file (file-relative-name (buffer-file-name) (file-name-directory (TeX-active-master)))) - (abs-file (concat (expand-file-name (file-name-directory (TeX-active-master))) + (abs-file (concat (expand-file-name (or (file-name-directory (TeX-active-master)) + (file-name-directory (buffer-file-name)))) "./" file))) ;; It's known that depending on synctex version one of ;; /absolute/path/./foo/bar.tex, foo/bar.tex, or ./foo/bar.tex (relative to _______________________________________________ auctex-diffs mailing list auctex-di...@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-diffs