aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/disp-table.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/disp-table.el b/lisp/disp-table.el
index 4bf52896cf0..653d5b8360b 100644
--- a/lisp/disp-table.el
+++ b/lisp/disp-table.el
@@ -75,7 +75,7 @@ Valid symbols are `truncation', `wrap', `escape', `control',
75;;;###autoload 75;;;###autoload
76(defun describe-display-table (dt) 76(defun describe-display-table (dt)
77 "Describe the display table DT in a help buffer." 77 "Describe the display table DT in a help buffer."
78 (with-output-to-temp-buffer "*Help*" 78 (with-help-window "*Help*"
79 (princ "\nTruncation glyph: ") 79 (princ "\nTruncation glyph: ")
80 (prin1 (display-table-slot dt 'truncation)) 80 (prin1 (display-table-slot dt 'truncation))
81 (princ "\nWrap glyph: ") 81 (princ "\nWrap glyph: ")
@@ -97,8 +97,7 @@ Valid symbols are `truncation', `wrap', `escape', `control',
97 (aset vector i (aref dt i)) 97 (aset vector i (aref dt i))
98 (setq i (1+ i))) 98 (setq i (1+ i)))
99 (describe-vector vector)) 99 (describe-vector vector))
100 (help-mode)) 100 (help-mode))))
101 (print-help-return-message)))
102 101
103;;;###autoload 102;;;###autoload
104(defun describe-current-display-table () 103(defun describe-current-display-table ()