summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/syntax.el
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2017-05-02 00:09:09 +0300
committerDmitry Gutov <dgutov@yandex.ru>2017-05-02 00:09:30 +0300
commitc99a3b90a010448c14475666cb78f05860b0e1c2 (patch)
tree683b307c094c5c777e2cb6a5666cab4292640beb /lisp/emacs-lisp/syntax.el
parent80407a2d3fa0827288eaf4006f2af5e011402631 (diff)
downloademacs-c99a3b90a010448c14475666cb78f05860b0e1c2.tar.gz
emacs-c99a3b90a010448c14475666cb78f05860b0e1c2.tar.bz2
emacs-c99a3b90a010448c14475666cb78f05860b0e1c2.zip
Speed up project-find-regexp for simple regexps
* lisp/progmodes/xref.el (xref--regexp-syntax-dependent-p): New function. (xref--collect-matches): Use it. Don't try to enable the appropriate major mode and file-local variables if the regexp does not depend on the buffer's syntax (bug#26710). (xref--collect-matches-1): Don't syntax-propertize in that case either.
Diffstat (limited to 'lisp/emacs-lisp/syntax.el')
0 files changed, 0 insertions, 0 deletions