emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r99502: Close bug#5562.


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r99502: Close bug#5562.
Date: Mon, 15 Feb 2010 18:42:03 -0800
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 99502
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Mon 2010-02-15 18:42:03 -0800
message:
  Close bug#5562.
  
  * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
  tex-main-file before using it.  (Bug#5562)
modified:
  lisp/ChangeLog
  lisp/textmodes/tex-mode.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2010-02-15 19:55:51 +0000
+++ b/lisp/ChangeLog    2010-02-16 02:42:03 +0000
@@ -1,3 +1,8 @@
+2010-02-16  Glenn Morris  <address@hidden>
+
+       * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
+       tex-main-file before using it.  (Bug#5562)
+
 2010-02-15  Stefan Monnier  <address@hidden>
 
        * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler

=== modified file 'lisp/textmodes/tex-mode.el'
--- a/lisp/textmodes/tex-mode.el        2010-01-13 08:35:10 +0000
+++ b/lisp/textmodes/tex-mode.el        2010-02-16 02:42:03 +0000
@@ -921,8 +921,8 @@
 ;; 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 @@
       (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)))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]