Fix org RET override looking-back invocation

This commit is contained in:
TEC 2021-10-28 12:48:30 +08:00
parent 3950ec5956
commit 00e299c77d
Signed by: tec
GPG Key ID: 779591AFDB81F06C
1 changed files with 1 additions and 2 deletions

View File

@ -6356,8 +6356,7 @@ appropriate. In tables, insert a new row or end the table."
(forward-line)
(insert "\n")
(forward-line -1))
;; FIXME: looking-back is supposed to be called with more arguments.
(while (not (looking-back (rx (repeat 3 (seq (optional blank) "\n")))))
(while (not (looking-back "\\(?:[[:blank:]]?\n\\)\\{3\\}" nil))
(insert "\n"))
(forward-line -1)))))