projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f06977
)
Fix another narrow-to-defun problem in js-mode
author
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 20 Nov 2021 09:20:43 +0000
(10:20 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 20 Nov 2021 09:21:00 +0000
(10:21 +0100)
* lisp/progmodes/js.el (js--function-prologue-beginning): Fix typo
in looking-back form (bug#51926).
lisp/progmodes/js.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/js.el
b/lisp/progmodes/js.el
index e5e83beff6c07bf5e812cb8cc9a3c61cc9f2593f..9303f1ecb918e50b4bc0b200b7c0d11d8baeb39f 100644
(file)
--- a/
lisp/progmodes/js.el
+++ b/
lisp/progmodes/js.el
@@
-1247,7
+1247,7
@@
LIMIT defaults to point."
(save-excursion
(goto-char orig-match-start)
(when (looking-back "\\_<async\\_>[ \t\n]+"
- (- (point) 3))
+ (- (point) 3
0
))
(setq orig-match-start (match-beginning 0))))
(make-js--pitem
:paren-depth orig-depth