diff options
| author | Mattias EngdegÄrd | 2020-10-06 13:09:58 +0200 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2020-10-06 13:14:19 +0200 |
| commit | bf34cf75fc4926e917eee47c86cf2266205d02dc (patch) | |
| tree | 3bd294e7a83523056554929a2aa0a3006e139049 | |
| parent | e704a6956d86ae394ecb029e066bf8d8c061baf3 (diff) | |
| download | emacs-bf34cf75fc4926e917eee47c86cf2266205d02dc.tar.gz emacs-bf34cf75fc4926e917eee47c86cf2266205d02dc.zip | |
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.el | 4 |
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 | |||
| 58 | decide whether the selected frame can display that Unicode character." | 58 | decide whether the selected frame can display that Unicode character." |
| 59 | (cond | 59 | (cond |
| 60 | (truncate-string-ellipsis) | 60 | (truncate-string-ellipsis) |
| 61 | ;; This uses the character's name instead of the character itself | 61 | ;; This uses the character's number instead of the character itself |
| 62 | ;; to avoid decoding problems when loading this file. FIXME. | 62 | ;; to avoid decoding problems when loading this file. FIXME. |
| 63 | ((char-displayable-p ?\N{HORIZONTAL ELLIPSIS}) "\N{HORIZONTAL ELLIPSIS}") | 63 | ((char-displayable-p ?\u2026) "\u2026") |
| 64 | ("..."))) | 64 | ("..."))) |
| 65 | 65 | ||
| 66 | ;;;###autoload | 66 | ;;;###autoload |