]> git.eshelyaron.com Git - emacs.git/commit
Speed up widget creation (Bug#53606)
authorMauro Aranda <maurooaranda@gmail.com>
Thu, 6 Feb 2025 11:01:08 +0000 (08:01 -0300)
committerEshel Yaron <me@eshelyaron.com>
Sun, 23 Feb 2025 08:10:09 +0000 (09:10 +0100)
commit767a0558c673c4ee9d22219466a726f2ba6ccb73
tree9668539eda5e6cbd8dedb136933c5a6d817b1212
parent25905973625e64d57ab459e80668307fc5b34ce9
Speed up widget creation (Bug#53606)

* lisp/wid-edit.el (widget-default-create, widget-checklist-add-item)
(widget-radio-add-item, widget-editable-list-entry-create): Don't
insert format escapes into the buffer, only to delete them after.
This avoids calls to delete-char and makes widget creation about 3
times faster.

(cherry picked from commit 3e269371507ea4cd7e933e39320d258a3b98de44)
lisp/wid-edit.el