]> git.eshelyaron.com Git - emacs.git/commit
Fix 'add-display-text-property' when OBJECT is non-nil
authorEli Zaretskii <eliz@gnu.org>
Tue, 6 Dec 2022 12:41:36 +0000 (14:41 +0200)
committerEli Zaretskii <eliz@gnu.org>
Tue, 6 Dec 2022 12:41:36 +0000 (14:41 +0200)
commit70a2eb4a0b315c3e66ab89508c9c62ca8b84ef29
tree2d25b0f36981cec7fd4b39db33c5bff06b39af2b
parentd58d1dd48ac7ae0f0b1a7d129c8a27b4a016d1ca
Fix 'add-display-text-property' when OBJECT is non-nil

* lisp/emacs-lisp/subr-x.el (add-display-text-property): Fix the
case where OBJECT is not nil.  (Bug#59857)

* test/lisp/emacs-lisp/subr-x-tests.el
(subr-x-test-add-display-text-property): Add test for this case.
lisp/emacs-lisp/subr-x.el
test/lisp/emacs-lisp/subr-x-tests.el