1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Close bug#5562.

* textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
tex-main-file before using it.  (Bug#5562)
This commit is contained in:
Glenn Morris 2010-02-15 18:42:03 -08:00
parent 88c26f5c45
commit 88fd78aeff
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2010-02-16 Glenn Morris <rgm@gnu.org>
* textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
tex-main-file before using it. (Bug#5562)
2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler

View file

@ -921,8 +921,8 @@ Inherits `shell-mode-map' with a few additions.")
;; remaining warning from byte-compiling all of Emacs...
(eval-when-compile
(setq byte-compile-function-environment
(delq (assq 'tex-mode byte-compile-function-environment)
byte-compile-function-environment)))
(delq (assq 'tex-mode byte-compile-function-environment)
byte-compile-function-environment)))
;;;###autoload
(defun tex-mode ()
@ -2643,7 +2643,7 @@ Runs the shell command defined by `tex-show-queue-command'."
(tex-kill-job)
(tex-start-shell))
(let* (shell-dirtrack-verbose
(source-file (tex-main-file))
(source-file (expand-file-name (tex-main-file)))
(tex-out-file
(tex-append (file-name-nondirectory source-file) ""))
(file-dir (file-name-directory source-file)))