summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2020-10-06 13:09:58 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2020-10-06 13:14:19 +0200
commitbf34cf75fc4926e917eee47c86cf2266205d02dc (patch)
tree3bd294e7a83523056554929a2aa0a3006e139049
parente704a6956d86ae394ecb029e066bf8d8c061baf3 (diff)
downloademacs-bf34cf75fc4926e917eee47c86cf2266205d02dc.tar.gz
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)
-rw-r--r--lisp/international/mule-util.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/international/mule-util.el b/lisp/international/mule-util.el
index faf00a76d68..ad560007655 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