Function: reftex-with-special-syntax

reftex-with-special-syntax is a macro defined in reftex-parse.el.gz.

Signature

(reftex-with-special-syntax &rest BODY)

Documentation

Evaluate BODY with syntax table set to reftex-syntax-table.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/reftex-parse.el.gz
(defmacro reftex-with-special-syntax (&rest body)
  "Evaluate BODY with syntax table set to `reftex-syntax-table'."
  (declare (debug t))
  `(let ((saved-syntax (syntax-table)))
     (unwind-protect
         (progn
           (set-syntax-table reftex-syntax-table)
           (let ((case-fold-search nil))
             ,@body))
       (set-syntax-table saved-syntax))))