From: Eli Zaretskii Date: Tue, 6 Oct 2020 08:24:15 +0000 (+0300) Subject: Fix last change X-Git-Tag: emacs-28.0.90~5737 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e704a6956d86ae394ecb029e066bf8d8c061baf3;p=emacs.git Fix last change * lisp/international/mule-util.el (truncate-string-ellipsis): Add a FIXME comment that explains the last change. (Bug#41250) --- diff --git a/lisp/international/mule-util.el b/lisp/international/mule-util.el index 05ef33ccf58..faf00a76d68 100644 --- a/lisp/international/mule-util.el +++ b/lisp/international/mule-util.el @@ -52,12 +52,14 @@ returned by the function `truncate-string-ellipsis'.") (defun truncate-string-ellipsis () "Return the string used to indicate truncation. Use the value of the variable `truncate-string-ellipsis' when it's non-nil. -Otherwise, return the Unicode character \"HORIZONTAL ELLIPSIS\" when -it's displayable on the selected frame, or `...'. This function needs -to be called on every use of `truncate-string-to-width' to decide -whether the selected frame can display that Unicode character." +Otherwise, return the Unicode character U+2026 \"HORIZONTAL ELLIPSIS\" +when it's displayable on the selected frame, or `...'. This function +needs to be called on every use of `truncate-string-to-width' to +decide whether the selected frame can display that Unicode character." (cond (truncate-string-ellipsis) + ;; This uses the character's name instead of the character itself + ;; to avoid decoding problems when loading this file. FIXME. ((char-displayable-p ?\N{HORIZONTAL ELLIPSIS}) "\N{HORIZONTAL ELLIPSIS}") ("...")))