aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/disp-table.el9
1 files changed, 8 insertions, 1 deletions
diff --git a/lisp/disp-table.el b/lisp/disp-table.el
index 53dff1e7097..c762b88cb66 100644
--- a/lisp/disp-table.el
+++ b/lisp/disp-table.el
@@ -336,7 +336,14 @@ which characters can be displayed and which cannot."
336 first) 336 first)
337 (with-current-buffer buf 337 (with-current-buffer buf
338 (erase-buffer) 338 (erase-buffer)
339 (insert "(let ((tbl standard-display-table))\n") 339 (insert "\
340;; Evaluate the Lisp code below to make Emacs show the standard
341;; replacement character as a substitute for each undisplayable character.
342;; One way to do that is with \"C-x h M-x eval-region RET\".
343;; Normally you would put this code in your Emacs initialization file,
344;; perhaps conditionally based on the type of terminal, so that
345;; this setup happens automatically on each startup.
346(let ((tbl standard-display-table))\n")
340 (while (<= ch to) 347 (while (<= ch to)
341 (cond 348 (cond
342 ((or (char-displayable-p ch) 349 ((or (char-displayable-p ch)