auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] Changes to auctex/tex.el,v


From: Masayuki Ataka
Subject: [AUCTeX-diffs] Changes to auctex/tex.el,v
Date: Sat, 17 Jun 2006 10:03:45 +0000

CVSROOT:        /cvsroot/auctex
Module name:    auctex
Changes by:     Masayuki Ataka <ataka>  06/06/17 10:03:45

Index: tex.el
===================================================================
RCS file: /cvsroot/auctex/auctex/tex.el,v
retrieving revision 5.576
retrieving revision 5.577
diff -u -b -r5.576 -r5.577
--- tex.el      17 Jun 2006 09:53:00 -0000      5.576
+++ tex.el      17 Jun 2006 10:03:45 -0000      5.577
@@ -2094,9 +2094,9 @@
        skip-opt)
     ;; Maybe get rid of all optional arguments.  See `TeX-insert-macro' for
     ;; more comments.  See `TeX-insert-macro-default-style'.
-    (when (or (and (eq TeX-insert-macro-default-style 'show-optional)
+    (when (or (and (eq TeX-insert-macro-default-style 'show-optional-args)
                   (equal current-prefix-arg '(4)))
-             (and (eq TeX-insert-macro-default-style 'mandatory-only)
+             (and (eq TeX-insert-macro-default-style 'mandatory-args-only)
                   (null (equal current-prefix-arg '(4)))))
       (while (vectorp (car args))
        (setq args (cdr args))))
@@ -4682,6 +4682,8 @@
   (interactive "P")
   (if (TeX-active-mark)
       (progn
+       (if (< (point) (mark))
+           (exchange-point-and-mark))
        (insert TeX-grcl)
        (save-excursion
          (goto-char (mark))




reply via email to

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