+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
;; 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 ()
(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)))