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,v


From: Glenn Morris
Subject: [Emacs-diffs] Changes to emacs/lisp/textmodes/tex-mode.el,v
Date: Wed, 19 Sep 2007 07:24:45 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Glenn Morris <gm>       07/09/19 07:24:45

Index: tex-mode.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/textmodes/tex-mode.el,v
retrieving revision 1.197
retrieving revision 1.198
diff -u -b -r1.197 -r1.198
--- tex-mode.el 19 Sep 2007 07:21:24 -0000      1.197
+++ tex-mode.el 19 Sep 2007 07:24:45 -0000      1.198
@@ -1272,8 +1272,8 @@
 Check for mismatched braces or $s in paragraph being terminated.
 A prefix arg inhibits the checking."
   (interactive "*P")
+  (insert "\n\n")
   (or inhibit-validation
-      (save-excursion
        ;; For the purposes of this, a "paragraph" is a block of text
        ;; wherein all the brackets etc are expected to be balanced.  It
        ;; may start after a blank line (ie a "proper" paragraph), or
@@ -1282,9 +1282,8 @@
         (save-excursion
           (backward-paragraph)
           (point))
-        (point)))
-      (message "Paragraph being closed appears to contain a mismatch"))
-  (insert "\n\n"))
+       (point))
+      (message "Paragraph being closed appears to contain a mismatch")))
 
 (define-skeleton tex-insert-braces
   "Make a pair of braces and be poised to type inside of them."




reply via email to

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