mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-04 16:38:14 +01:00
Replace delete-line
with its definition
37c022ae
("Use `without-restriction` in `with-temporary-notmuch-message-buffer`", 2024-03-14)
introduced `delete-line` in a test, but this is Emacs 29 and above only.
Replace it with its (almost) definition.
This commit is contained in:
parent
b526c5ef0e
commit
6b9fccb2e2
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ add_email_corpus attachment
|
||||||
test_begin_subtest "Saving a draft keeps hidden headers"
|
test_begin_subtest "Saving a draft keeps hidden headers"
|
||||||
test_emacs '(notmuch-mua-new-reply "id:874llc2bkp.fsf@curie.anarc.at")
|
test_emacs '(notmuch-mua-new-reply "id:874llc2bkp.fsf@curie.anarc.at")
|
||||||
(message-goto-subject)
|
(message-goto-subject)
|
||||||
(delete-line)
|
(delete-region (line-beginning-position) (line-beginning-position 2))
|
||||||
(insert "Subject: draft-test-reply\n")
|
(insert "Subject: draft-test-reply\n")
|
||||||
(test-output "DRAFT")
|
(test-output "DRAFT")
|
||||||
(notmuch-draft-postpone)
|
(notmuch-draft-postpone)
|
||||||
|
|
Loading…
Reference in a new issue