diff options
| author | David Ponce | 2025-03-16 11:31:21 +0100 |
|---|---|---|
| committer | Eli Zaretskii | 2025-03-20 14:55:23 +0200 |
| commit | b1db48c0fcd438c903826fe0dba3bc28ffa73cc4 (patch) | |
| tree | fb2acb33d51674853424c30790a5345c6f7bc302 /java/incrementing-version-code | |
| parent | cace07f27dc31091a606a70ae8b957cd5dd7da43 (diff) | |
| download | emacs-b1db48c0fcd438c903826fe0dba3bc28ffa73cc4.tar.gz emacs-b1db48c0fcd438c903826fe0dba3bc28ffa73cc4.zip | |
Fix `string-pixel-width' with alternate text properties
Fix possible wrong result of `string-pixel-width' with alternate
and default properties. Create new regression tests.
* lisp/emacs-lisp/subr-x.el (string-pixel-width): Like for
`face-remapping-alist', use in work buffer the value of
`char-property-alias-alist' and `default-text-properties'
local to the passed buffer, to correctly compute pixel width.
(Bug#77042)
* test/lisp/misc-tests.el: Add tests for `string-pixel-width'.
Diffstat (limited to 'java/incrementing-version-code')
0 files changed, 0 insertions, 0 deletions