auctex-commit
[Top][All Lists]
Advanced

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

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


From: Ralf Angeli
Subject: [AUCTeX-commit] Changes to auctex/tex.el,v
Date: Tue, 06 Mar 2007 20:30:16 +0000

CVSROOT:        /cvsroot/auctex
Module name:    auctex
Changes by:     Ralf Angeli <angeli>    07/03/06 20:30:16

Index: tex.el
===================================================================
RCS file: /cvsroot/auctex/auctex/tex.el,v
retrieving revision 5.605
retrieving revision 5.606
diff -u -b -r5.605 -r5.606
--- tex.el      4 Mar 2007 19:56:23 -0000       5.605
+++ tex.el      6 Mar 2007 20:30:16 -0000       5.606
@@ -4158,9 +4158,10 @@
                                                     'syntax-table)))))
     ;; Preset mode-independent syntax entries.  (Mode-dependent
     ;; entries are set in the function `TeX-search-syntax-table'.)
-    ;; ?\" explicitely gets whitespace syntax because Emacs 21.3 and
-    ;; XEmacs don't generate a completely empty syntax table.
-    (dolist (elt '((?\f . ">") (?\n . ">") (?\" . " ")))
+    ;; ?\", ?\( and ?\) explicitely get whitespace syntax because
+    ;; Emacs 21.3 and XEmacs don't generate a completely empty syntax
+    ;; table.
+    (dolist (elt '((?\f . ">") (?\n . ">") (?\" . " ") (?\( . " ") (?\) . " 
")))
       (modify-syntax-entry (car elt) (cdr elt) table))
     table)
   "Syntax table used for searching purposes.
@@ -4176,6 +4177,10 @@
                             (?\} . "){")
                             (?\[ . "(]")
                             (?\] . ")["))))
+    ;; Clean entries possibly set before.
+    (modify-syntax-entry ?\\ " " TeX-search-syntax-table)
+    (modify-syntax-entry ?@ " " TeX-search-syntax-table)
+    (modify-syntax-entry ?\% " " TeX-search-syntax-table)
     ;; Preset mode-dependent syntax entries.  (Mode-independent entries
     ;; are set when the variable `TeX-search-syntax-table' is created.)
     (modify-syntax-entry (string-to-char TeX-esc) "\\" TeX-search-syntax-table)




reply via email to

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