summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/rx-tests.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-11-18 11:25:18 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2021-11-18 11:25:18 +0100
commit6cad3dc75e19669ba43bdc69a617ad14dec5643f (patch)
treee073315953736895aac592bdbfe80798d3dd3a6a /test/lisp/emacs-lisp/rx-tests.el
parent1625123e4ceb8d23eef00f3944341ecf0a75dc77 (diff)
downloademacs-6cad3dc75e19669ba43bdc69a617ad14dec5643f.tar.gz
emacs-6cad3dc75e19669ba43bdc69a617ad14dec5643f.tar.bz2
emacs-6cad3dc75e19669ba43bdc69a617ad14dec5643f.zip
Fix `narrow-to-defun' in "async function" in js-mode
* lisp/progmodes/js.el (js--plain-method-re): (js--function-prologue-beginning): (js--ensure-cache): Allow "async" before "function" (bug#51926). This makes `narrow-to-defun' work as expected.
Diffstat (limited to 'test/lisp/emacs-lisp/rx-tests.el')
0 files changed, 0 insertions, 0 deletions