# HG changeset patch # User Stefan Monnier # Date 1230157464 0 # Node ID e2eada3200aafd076a913b03d22ef93dd2afb2a2 # Parent 5478b71d59c63a22730cd3ed5133f49de0f7d5ee (tex-bibtex-file): Use tex-main-file. diff -r 5478b71d59c6 -r e2eada3200aa lisp/ChangeLog --- a/lisp/ChangeLog Wed Dec 24 18:27:30 2008 +0000 +++ b/lisp/ChangeLog Wed Dec 24 22:24:24 2008 +0000 @@ -1,19 +1,23 @@ +2008-12-24 Francois Fleuret (tiny change) + + * textmodes/tex-mode.el (tex-bibtex-file): Use tex-main-file. + 2008-12-24 Dan Nicolaescu * subr.el (chmod): New defalias for set-file-modes. 2008-12-23 Juri Linkov - * isearch.el (isearch-filter-predicate, isearch-search): Replace - `isearch-filter-invisible' with `isearch-filter-visible'. - (isearch-filter-visible): Renamed from + * isearch.el (isearch-filter-predicate, isearch-search): + Replace `isearch-filter-invisible' with `isearch-filter-visible'. + (isearch-filter-visible): Rename from `isearch-filter-invisible'. Doc fix. * dired-aux.el (dired-isearch-filenames-toggle): Use the original value from `dired-isearch-filter-predicate-orig' instead of the symbol `isearch-filter-invisible'. Doc fix. - (dired-isearch-filter-filenames): Replace - `isearch-filter-invisible' with `isearch-filter-visible'. Doc fix. + (dired-isearch-filter-filenames): Doc fix. + Replace `isearch-filter-invisible' with `isearch-filter-visible'. * info.el (Info-find-node-2): Use negative offset 2 instead of 1 for Info-point-loc since it is more correct in all cases. @@ -38,7 +42,8 @@ 2008-12-22 Ulf Jasper - * net/newst-backend.el (newst-backend): Removed wrong duplicate provide statement. + * net/newst-backend.el (newst-backend): + Remove wrong duplicate provide statement. 2008-12-22 Michael Albinus diff -r 5478b71d59c6 -r e2eada3200aa lisp/textmodes/tex-mode.el --- a/lisp/textmodes/tex-mode.el Wed Dec 24 18:27:30 2008 +0000 +++ b/lisp/textmodes/tex-mode.el Wed Dec 24 22:24:24 2008 +0000 @@ -2536,10 +2536,11 @@ (if (tex-shell-running) (tex-kill-job) (tex-start-shell)) - (let (shell-dirtrack-verbose - (tex-out-file - (tex-append (file-name-nondirectory (buffer-file-name)) "")) - (file-dir (file-name-directory (buffer-file-name)))) + (let* (shell-dirtrack-verbose + (source-file (tex-main-file)) + (tex-out-file + (tex-append (file-name-nondirectory source-file) "")) + (file-dir (file-name-directory source-file))) (tex-send-command tex-shell-cd-command file-dir) (tex-send-command tex-bibtex-command tex-out-file)) (tex-display-shell))