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: John Paul Wallington
Subject: [Emacs-diffs] Changes to emacs/lisp/textmodes/tex-mode.el
Date: Wed, 25 Aug 2004 15:08:50 -0400

Index: emacs/lisp/textmodes/tex-mode.el
diff -c emacs/lisp/textmodes/tex-mode.el:1.144 
emacs/lisp/textmodes/tex-mode.el:1.145
*** emacs/lisp/textmodes/tex-mode.el:1.144      Wed May 19 00:24:15 2004
--- emacs/lisp/textmodes/tex-mode.el    Wed Aug 25 19:04:13 2004
***************
*** 1141,1150 ****
                                         'occur-target tem)))))
            (goto-char prev-end))))
        (with-current-buffer standard-output
!       (if (eq num-matches 0)
!           (insert "None!\n"))
!       (if (interactive-p)
!           (message "%d mismatches found" num-matches))))))
  
  (defun tex-validate-region (start end)
    "Check for mismatched braces or $'s in region.
--- 1141,1153 ----
                                         'occur-target tem)))))
            (goto-char prev-end))))
        (with-current-buffer standard-output
!       (let ((no-matches (zerop num-matches)))
!         (if no-matches
!             (insert "None!\n"))
!         (if (interactive-p)
!             (message "%s mismatch%s found"
!                      (if no-matches "No" num-matches)
!                      (if (> num-matches 1) "es" ""))))))))
  
  (defun tex-validate-region (start end)
    "Check for mismatched braces or $'s in region.
***************
*** 1459,1465 ****
         nil)
      (let ((proc (get-process "tex-shell")))
        (set-process-sentinel proc 'tex-shell-sentinel)
!       (process-kill-without-query proc)
        (tex-shell)
        (while (zerop (buffer-size))
        (sleep-for 1)))))
--- 1462,1468 ----
         nil)
      (let ((proc (get-process "tex-shell")))
        (set-process-sentinel proc 'tex-shell-sentinel)
!       (set-process-query-on-exit-flag proc nil)
        (tex-shell)
        (while (zerop (buffer-size))
        (sleep-for 1)))))
***************
*** 1928,1934 ****
                (re-search-forward
                 "^l\\.\\([0-9]+\\) \\(\\.\\.\\.\\)?\\(.*\\)$" nil 'move))
        (let* ((this-error (copy-marker begin-of-error))
!            (linenum (string-to-int (match-string 1)))
             (error-text (regexp-quote (match-string 3)))
             (filename
              (save-excursion
--- 1931,1937 ----
                (re-search-forward
                 "^l\\.\\([0-9]+\\) \\(\\.\\.\\.\\)?\\(.*\\)$" nil 'move))
        (let* ((this-error (copy-marker begin-of-error))
!            (linenum (string-to-number (match-string 1)))
             (error-text (regexp-quote (match-string 3)))
             (filename
              (save-excursion




reply via email to

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