* lisp/info.el (Info-mode): Support the Linux console better.
This commit is contained in:
parent
cc945ec0ed
commit
d111b5b651
1 changed files with 6 additions and 3 deletions
|
@ -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)))
|
||||
|
|
Loading…
Add table
Reference in a new issue