diff options
| author | David Ponce | 2024-08-22 16:56:11 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2024-08-31 11:23:23 +0300 |
| commit | dffdbc1f1fd6569c518e2e3b5e771a54e9e9483f (patch) | |
| tree | 012286f6534bc881ddc573b9e3caff3025d1656b /java/debug.sh | |
| parent | b930a698f2ba4e8b5878a4b604098e1201796b7f (diff) | |
| download | emacs-dffdbc1f1fd6569c518e2e3b5e771a54e9e9483f.tar.gz emacs-dffdbc1f1fd6569c518e2e3b5e771a54e9e9483f.zip | |
Use 'with-work-macro' in 'string-pixel-width'
Tweak the implementation of 'string-pixel-width' to run
faster and use less memory. Also cater for the case where
this function is called in parallel (bug#72689).
* lisp/emacs-lisp/subr-x.el (string-pixel-width): Use
`with-work-macro'. Prefer `remove-text-properties' to
`propertize' to avoid creating a new string on each call.
Diffstat (limited to 'java/debug.sh')
0 files changed, 0 insertions, 0 deletions