From e704a6956d86ae394ecb029e066bf8d8c061baf3 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 6 Oct 2020 11:24:15 +0300 Subject: [PATCH] Fix last change * lisp/international/mule-util.el (truncate-string-ellipsis): Add a FIXME comment that explains the last change. (Bug#41250) --- lisp/international/mule-util.el | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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}") ("..."))) -- 2.39.5