emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master bcd09e9: * lisp/international/mule-util.el: Revert bug#41250 work


From: Stefan Monnier
Subject: master bcd09e9: * lisp/international/mule-util.el: Revert bug#41250 workaround
Date: Tue, 6 Oct 2020 09:38:29 -0400 (EDT)

branch: master
commit bcd09e9869a3f371024286d25743ebaf17f0be9d
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * lisp/international/mule-util.el: Revert bug#41250 workaround
    
    (truncate-string-ellipsis): Use the '…' character itself since it
    should work now and is more readable.
---
 lisp/international/mule-util.el | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/lisp/international/mule-util.el b/lisp/international/mule-util.el
index c369374..8f31633 100644
--- a/lisp/international/mule-util.el
+++ b/lisp/international/mule-util.el
@@ -58,10 +58,7 @@ 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 codepoint instead of the character
-   ;; itself to avoid decoding problems when loading this file.
-   ;; FIXME.
-   ((char-displayable-p ?\u2026) "\u2026")
+   ((char-displayable-p ?…) "…")
    ("...")))
 
 ;;;###autoload



reply via email to

[Prev in Thread] Current Thread [Next in Thread]