summaryrefslogtreecommitdiff
path: root/lisp/textmodes/tex-mode.el
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2010-02-16 15:51:15 +0900
committerKenichi Handa <handa@m17n.org>2010-02-16 15:51:15 +0900
commita622127f2bb84962ca65daf4dbee25ae723122de (patch)
tree319f0527357561aec14a25e308abbbc99995d1ca /lisp/textmodes/tex-mode.el
parentfa6ea913cb32e92839590f40c696b42a613f47cc (diff)
parentdc4d62739d4f483514c9763edea82e5858fa0460 (diff)
downloademacs-a622127f2bb84962ca65daf4dbee25ae723122de.tar.gz
from trunk
Diffstat (limited to 'lisp/textmodes/tex-mode.el')
-rw-r--r--lisp/textmodes/tex-mode.el6
1 files changed, 3 insertions, 3 deletions
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.")
;; 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)))