Function: org-with-syntax-table

org-with-syntax-table is a macro defined in org-macs.el.

Signature

(org-with-syntax-table TABLE &rest BODY)

Documentation

Evaluate BODY with syntax table of current buffer set to TABLE.

This is the same as with-syntax-table except that it also binds parse-sexp-lookup-properties to nil.

Source Code

;; Defined in ~/.emacs.d/elpa/org-9.8.2/org-macs.el
(defmacro org-with-syntax-table (table &rest body)
  "Evaluate BODY with syntax table of current buffer set to TABLE.

This is the same as `with-syntax-table' except that it also binds
`parse-sexp-lookup-properties' to nil."
  (declare (debug t) (indent 1))
  `(with-syntax-table ,table
     (let ((parse-sexp-lookup-properties nil))
       ,@body)))