emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/textmodes/tex-mode.el


From: Sam Steingold
Subject: [Emacs-diffs] Changes to emacs/lisp/textmodes/tex-mode.el
Date: Mon, 01 Jul 2002 15:55:46 -0400

Index: emacs/lisp/textmodes/tex-mode.el
diff -c emacs/lisp/textmodes/tex-mode.el:1.123 
emacs/lisp/textmodes/tex-mode.el:1.124
*** emacs/lisp/textmodes/tex-mode.el:1.123      Wed May  1 01:22:08 2002
--- emacs/lisp/textmodes/tex-mode.el    Mon Jul  1 15:55:45 2002
***************
*** 529,537 ****
        (list (concat slash citations opt arg) 3 'font-lock-constant-face)
        ;;
        ;; Text between `` quotes ''.
!       (cons (concat (regexp-opt `("``" "\"<" "\"`" "<<" "«") t)
!                     "[^'\">»]+"      ;a bit pessimistic
!                     (regexp-opt `("''" "\">" "\"'" ">>" "»") t))
              'font-lock-string-face)
        ;;
        ;; Command names, special and general.
--- 529,537 ----
        (list (concat slash citations opt arg) 3 'font-lock-constant-face)
        ;;
        ;; Text between `` quotes ''.
!       (cons (concat (regexp-opt `("``" "\"<" "\"`" "<<" "k") t)
!                     "[^'\">{]+"       ;a bit pessimistic
!                     (regexp-opt `("''" "\">" "\"'" ">>" "{") t))
              'font-lock-string-face)
        ;;
        ;; Command names, special and general.
***************
*** 1678,1687 ****
  This function is more useful than \\[tex-buffer] when you need the
  `.aux' file of LaTeX to have the correct name."
    (interactive)
    (let* ((source-file (tex-main-file))
         (file-dir (file-name-directory (expand-file-name source-file))))
-     (if tex-offer-save
-         (save-some-buffers))
      (if (tex-shell-running)
          (tex-kill-job)
        (tex-start-shell))
--- 1678,1687 ----
  This function is more useful than \\[tex-buffer] when you need the
  `.aux' file of LaTeX to have the correct name."
    (interactive)
+   (when tex-offer-save
+     (save-some-buffers))
    (let* ((source-file (tex-main-file))
         (file-dir (file-name-directory (expand-file-name source-file))))
      (if (tex-shell-running)
          (tex-kill-job)
        (tex-start-shell))



reply via email to

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