auctex-commit
[Top][All Lists]
Advanced

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

[AUCTeX-commit] Changes to reftex/lisp/reftex-index.el,v


From: Ralf Angeli
Subject: [AUCTeX-commit] Changes to reftex/lisp/reftex-index.el,v
Date: Sun, 25 Feb 2007 20:47:41 +0000

CVSROOT:        /sources/auctex
Module name:    reftex
Changes by:     Ralf Angeli <angeli>    07/02/25 20:47:41

Index: reftex-index.el
===================================================================
RCS file: /sources/auctex/reftex/lisp/reftex-index.el,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -b -r1.37 -r1.38
--- reftex-index.el     21 Jan 2007 03:53:09 -0000      1.37
+++ reftex-index.el     25 Feb 2007 20:47:41 -0000      1.38
@@ -1184,7 +1184,11 @@
   "Font lock defaults for reftex-index-phrases-mode.")
 (defvar reftex-index-phrases-map (make-sparse-keymap)
   "Keymap used for *toc* buffer.")
-
+(defvar reftex-index-phrases-syntax-table
+  (let ((table (make-syntax-table)))
+    (modify-syntax-entry ?\" "." table)
+    table)
+  "Syntax table for RefTeX Index Phrases mode.")
 
 (defun reftex-index-phrase-selection-or-word (arg)
   "Add current selection or word at point to the phrases buffer.
@@ -1314,6 +1318,7 @@
   (kill-all-local-variables)
   (setq major-mode 'reftex-index-phrases-mode
         mode-name "Phrases")
+  (set-syntax-table reftex-index-phrases-syntax-table)
   (use-local-map reftex-index-phrases-map)
   (set (make-local-variable 'font-lock-defaults) 
        reftex-index-phrases-font-lock-defaults)




reply via email to

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