diff options
author | Eli Zaretskii <eliz@gnu.org> | 2022-08-28 14:42:07 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2022-08-28 14:42:07 +0300 |
commit | d111b5b6512e1c8e932572906e2f516832e6c408 (patch) | |
tree | bdb8145ebe75a5c583576766b86874eaeba1846e | |
parent | cc945ec0ed11c93a322db6258d47ea2746aead18 (diff) | |
download | emacs-d111b5b6512e1c8e932572906e2f516832e6c408.tar.gz |
* lisp/info.el (Info-mode): Support the Linux console better.
-rw-r--r-- | lisp/info.el | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/info.el b/lisp/info.el index 739116cceac..5655e3f3ce9 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -4446,9 +4446,12 @@ Advanced commands: (setq buffer-read-only t) (setq Info-tag-table-marker (make-marker)) (unless (or (display-multi-font-p) - (coding-system-equal - (coding-system-base (terminal-coding-system)) - 'utf-8)) + (and (coding-system-equal + (coding-system-base (terminal-coding-system)) + 'utf-8) + ;; The Linux console has limited character + ;; repertoire even when its encoding is UTF-8. + (not (equal (tty-type) "linux")))) (dolist (elt info-symbols-and-replacements) (let ((ch (car elt)) (repl (cdr elt))) |