]> git.eshelyaron.com Git - emacs.git/commit
Fix clear-string crash with text properties
authorStefan Kangas <stefankangas@gmail.com>
Wed, 15 Jan 2025 22:11:16 +0000 (23:11 +0100)
committerEshel Yaron <me@eshelyaron.com>
Fri, 17 Jan 2025 11:35:01 +0000 (12:35 +0100)
commit5f8a053c60fc16099ab00d205b43873696857e65
tree91cdc10f007d8a3020ea0d6344a9c34534092b73
parent95eabd1b6d6ded4d1e5ef282090594336720f238
Fix clear-string crash with text properties

* src/fns.c (Fclear_string): Fix crash by clearing all text
properties.  (Bug#75581)
* doc/lispref/strings.texi (Modifying Strings): Document the above
behavior change.
Fix proposed by Andreas Schwab <schwab@linux-m68k.org>.

(cherry picked from commit 4f946a652278cc72a777fe56999bc4525f53e03a)
doc/lispref/strings.texi
src/fns.c