Fix another narrow-to-defun problem in js-mode
* lisp/progmodes/js.el (js--function-prologue-beginning): Fix typo in looking-back form (bug#51926).
This commit is contained in:
parent
9f06977782
commit
bc99604c7a
1 changed files with 1 additions and 1 deletions
|
@ -1247,7 +1247,7 @@ LIMIT defaults to point."
|
|||
(save-excursion
|
||||
(goto-char orig-match-start)
|
||||
(when (looking-back "\\_<async\\_>[ \t\n]+"
|
||||
(- (point) 3))
|
||||
(- (point) 30))
|
||||
(setq orig-match-start (match-beginning 0))))
|
||||
(make-js--pitem
|
||||
:paren-depth orig-depth
|
||||
|
|
Loading…
Add table
Reference in a new issue