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)
This commit is contained in:
Mattias Engdegård 2020-10-06 13:09:58 +02:00
parent e704a6956d
commit bf34cf75fc

View file

@ -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