]> git.eshelyaron.com Git - emacs.git/commit
Use syntax-ppss-toplevel-pos for defvar search (Bug#34233)
authorNoam Postavsky <npostavs@gmail.com>
Thu, 11 Jul 2019 22:38:02 +0000 (18:38 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Sun, 14 Jul 2019 01:25:10 +0000 (21:25 -0400)
commit5d713c89e923fbc3192719792090cc40327b13a2
treea109037100f8f30a1bfba312d39bdd91897a5319
parent34810ab4f9990a8de1e503fdf6b485d8eeea1601
Use syntax-ppss-toplevel-pos for defvar search (Bug#34233)

* lisp/progmodes/elisp-mode.el (eval-sexp-add-defvars): Use
syntax-ppss-toplevel-pos instead of a raw check of syntax components.
lisp/progmodes/elisp-mode.el