diff options
| author | Glenn Morris | 2010-02-15 18:42:03 -0800 |
|---|---|---|
| committer | Glenn Morris | 2010-02-15 18:42:03 -0800 |
| commit | 88fd78aeffa757f9fb97da205f0723e8723ce4cf (patch) | |
| tree | 499dc07f39132a5965c5c3bffa1b71c631342eda | |
| parent | 88c26f5c4556429be15ef0991cab0073b361dcf0 (diff) | |
| download | emacs-88fd78aeffa757f9fb97da205f0723e8723ce4cf.tar.gz emacs-88fd78aeffa757f9fb97da205f0723e8723ce4cf.zip | |
Close bug#5562.
* textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
tex-main-file before using it. (Bug#5562)
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/textmodes/tex-mode.el | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d2cf0e271bf..f48940f27dc 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-02-16 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of | ||
| 4 | tex-main-file before using it. (Bug#5562) | ||
| 5 | |||
| 1 | 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca> | 6 | 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 7 | ||
| 3 | * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler | 8 | * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler |
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index f2367caf66e..38698af7885 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el | |||
| @@ -921,8 +921,8 @@ Inherits `shell-mode-map' with a few additions.") | |||
| 921 | ;; remaining warning from byte-compiling all of Emacs... | 921 | ;; remaining warning from byte-compiling all of Emacs... |
| 922 | (eval-when-compile | 922 | (eval-when-compile |
| 923 | (setq byte-compile-function-environment | 923 | (setq byte-compile-function-environment |
| 924 | (delq (assq 'tex-mode byte-compile-function-environment) | 924 | (delq (assq 'tex-mode byte-compile-function-environment) |
| 925 | byte-compile-function-environment))) | 925 | byte-compile-function-environment))) |
| 926 | 926 | ||
| 927 | ;;;###autoload | 927 | ;;;###autoload |
| 928 | (defun tex-mode () | 928 | (defun tex-mode () |
| @@ -2643,7 +2643,7 @@ Runs the shell command defined by `tex-show-queue-command'." | |||
| 2643 | (tex-kill-job) | 2643 | (tex-kill-job) |
| 2644 | (tex-start-shell)) | 2644 | (tex-start-shell)) |
| 2645 | (let* (shell-dirtrack-verbose | 2645 | (let* (shell-dirtrack-verbose |
| 2646 | (source-file (tex-main-file)) | 2646 | (source-file (expand-file-name (tex-main-file))) |
| 2647 | (tex-out-file | 2647 | (tex-out-file |
| 2648 | (tex-append (file-name-nondirectory source-file) "")) | 2648 | (tex-append (file-name-nondirectory source-file) "")) |
| 2649 | (file-dir (file-name-directory source-file))) | 2649 | (file-dir (file-name-directory source-file))) |