]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/international/mule-util.el: Revert bug#41250 workaround
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 6 Oct 2020 13:38:25 +0000 (09:38 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 6 Oct 2020 13:38:25 +0000 (09:38 -0400)
(truncate-string-ellipsis): Use the '…' character itself since it
should work now and is more readable.

lisp/international/mule-util.el

index c369374022dd303db2e09b863a41ffc9bfdd9fb3..8f316332249e09937e0bbd85168e307998fa2d8d 100644 (file)
@@ -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