Add instructions to 'standard-display-by-replacement-char'
* lisp/disp-table.el (standard-display-by-replacement-char): Add a preamble to the generated code with instructions. Suggested by Richard Stallman <rms@gnu.org>.
This commit is contained in:
parent
579eefda36
commit
e1282c8c66
1 changed files with 8 additions and 1 deletions
|
@ -336,7 +336,14 @@ which characters can be displayed and which cannot."
|
|||
first)
|
||||
(with-current-buffer buf
|
||||
(erase-buffer)
|
||||
(insert "(let ((tbl standard-display-table))\n")
|
||||
(insert "\
|
||||
;; Evaluate the Lisp code below to make Emacs show the standard
|
||||
;; replacement character as a substitute for each undisplayable character.
|
||||
;; One way to do that is with \"C-x h M-x eval-region RET\".
|
||||
;; Normally you would put this code in your Emacs initialization file,
|
||||
;; perhaps conditionally based on the type of terminal, so that
|
||||
;; this setup happens automatically on each startup.
|
||||
(let ((tbl standard-display-table))\n")
|
||||
(while (<= ch to)
|
||||
(cond
|
||||
((or (char-displayable-p ch)
|
||||
|
|
Loading…
Add table
Reference in a new issue