emacs-diffs
[Top][All Lists]
Advanced

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

master bf34cf7: Fix last change


From: Mattias Engdegård
Subject: master bf34cf7: Fix last change
Date: Tue, 6 Oct 2020 07:16:00 -0400 (EDT)

branch: master
commit bf34cf75fc4926e917eee47c86cf2266205d02dc
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    Fix last change
    
    * lisp/international/mule-util.el (truncate-string-ellipsis):
    Use Unicode hex escapes instead of named escapes here, because \N{...}
    is not available during bootstrapping.  (Bug#41250)
---
 lisp/international/mule-util.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/international/mule-util.el b/lisp/international/mule-util.el
index faf00a7..ad56000 100644
--- a/lisp/international/mule-util.el
+++ b/lisp/international/mule-util.el
@@ -58,9 +58,9 @@ 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
+   ;; This uses the character's number instead of the character itself
    ;; to avoid decoding problems when loading this file.  FIXME.
-   ((char-displayable-p ?\N{HORIZONTAL ELLIPSIS}) "\N{HORIZONTAL ELLIPSIS}")
+   ((char-displayable-p ?\u2026) "\u2026")
    ("...")))
 
 ;;;###autoload



reply via email to

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