branch: externals/org commit 5317402b0683d3f538faaa436e70d17ea582185e Merge: 0f0f9629c2 c26d301c9c Author: Ihor Radchenko <yanta...@posteo.net> Commit: Ihor Radchenko <yanta...@posteo.net>
Merge branch 'bugfix' --- lisp/org-macs.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/org-macs.el b/lisp/org-macs.el index 044c49efbf..a291f5f7d3 100644 --- a/lisp/org-macs.el +++ b/lisp/org-macs.el @@ -1171,6 +1171,7 @@ STRING width. When REFERENCE-FACE is nil, `default' face is used." (org--string-width-1 string) ;; Wrap/line prefix will make `window-text-pixel-size' return too ;; large value including the prefix. + (setq string (copy-sequence string)) ; do not modify STRING object (remove-text-properties 0 (length string) '(wrap-prefix t line-prefix t) string)