Variable: imenu-syntax-alist
imenu-syntax-alist is a buffer-local variable defined in imenu.el.gz.
Documentation
Alist of syntax table modifiers to use while in imenu--generic-function.
The car of the assocs may be either a character or a string and the
cdr is a syntax description appropriate for modify-syntax-entry. For
a string, all the characters in the string get the specified syntax.
This is typically used to give word syntax to characters which
normally have symbol syntax to simplify imenu-expression
and speed-up matching.
Source Code
;; Defined in /usr/src/emacs/lisp/imenu.el.gz
;;;###autoload
(defvar-local imenu-syntax-alist nil
"Alist of syntax table modifiers to use while in `imenu--generic-function'.
The car of the assocs may be either a character or a string and the
cdr is a syntax description appropriate for `modify-syntax-entry'. For
a string, all the characters in the string get the specified syntax.
This is typically used to give word syntax to characters which
normally have symbol syntax to simplify `imenu-expression'
and speed-up matching.")