]> git.eshelyaron.com Git - emacs.git/commit
Don't clobber stickiness text properties when printing Eshell prompt
authorJim Porter <jporterbugs@gmail.com>
Thu, 7 Nov 2024 18:08:33 +0000 (10:08 -0800)
committerEshel Yaron <me@eshelyaron.com>
Wed, 20 Nov 2024 16:11:37 +0000 (17:11 +0100)
commit4457f966a98f31d75e2ea7df0b211f2183052ac1
tree8fde32459afe4cc14fb9f783b8897320df45c271
parentbf235e09c26aaf5d0f974fae8617cf3f8826e268
Don't clobber stickiness text properties when printing Eshell prompt

* lisp/eshell/em-prompt.el (eshell--append-text-property): New
function...
(eshell-emit-prompt): ... use it.

* test/lisp/eshell/em-prompt-tests.el
(em-prompt-test/field-properties/merge-stickiness): New test.
(em-prompt-test/field-properties, em-prompt-test/after-failure): Reorder
stickiness values (bug#74230).

(cherry picked from commit df288d2e4148e6e72f21752a510f98536e7705ac)
lisp/eshell/em-prompt.el
test/lisp/eshell/em-prompt-tests.el