; Fix last change in subr-x.el
* lisp/emacs-lisp/subr-x.el (string-pixel-width): Remove unnecessary call to 'erase-buffer'. (Bug#72689)
This commit is contained in:
parent
deb31ba825
commit
a9889b8eec
1 changed files with 0 additions and 1 deletions
|
@ -405,7 +405,6 @@ determining the width."
|
|||
(with-current-buffer buffer
|
||||
face-remapping-alist))
|
||||
(kill-local-variable 'face-remapping-alist))
|
||||
(erase-buffer)
|
||||
(insert string)
|
||||
;; Prefer `remove-text-properties' to `propertize' to avoid
|
||||
;; creating a new string on each call.
|
||||
|
|
Loading…
Add table
Reference in a new issue