diff options
author | F. Jason Park <jp@neverwas.me> | 2024-08-27 23:05:35 -0700 |
---|---|---|
committer | F. Jason Park <jp@neverwas.me> | 2024-09-29 16:43:38 -0700 |
commit | 08f662da1123f50f3f62d0af747bff88d2c73938 (patch) | |
tree | a60e3536b5b67bf9020641cce346f07155b187f9 /lisp/emacs-lisp/regexp-opt.el | |
parent | 054602533ca08a7ab734aa3f750a03a7a8ccf25a (diff) | |
download | emacs-08f662da1123f50f3f62d0af747bff88d2c73938.tar.gz emacs-08f662da1123f50f3f62d0af747bff88d2c73938.tar.bz2 emacs-08f662da1123f50f3f62d0af747bff88d2c73938.zip |
Fix overlooked case in erc--get-inserted-msg-beg-at
* lisp/erc/erc.el (erc--get-inserted-msg-beg-at): Account for the start
of a props header being `bobp' when searching backwards.
(erc--get-inserted-msg-prop): Add optional `point' parameter.
* test/lisp/erc/erc-goodies-tests.el
(erc--get-inserted-msg-beg/truncated/readonly): New test.
* test/lisp/erc/erc-tests.el (erc--get-inserted-msg-beg/truncated): New
test.
* test/lisp/erc/resources/erc-tests-common.el
(erc-tests-common-assert-get-inserted-msg/truncated): New test helper.
(Bug#72736)
Diffstat (limited to 'lisp/emacs-lisp/regexp-opt.el')
0 files changed, 0 insertions, 0 deletions