changeset 86009:80d1d625bb6f

(describe-display-table): Use with-help-window instead of with-output-to-temp-buffer.
author Martin Rudalics <rudalics@gmx.at>
date Sat, 10 Nov 2007 09:56:32 +0000
parents 054e548612aa
children d42c1cd75af4
files lisp/disp-table.el
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/disp-table.el	Sat Nov 10 09:55:53 2007 +0000
+++ b/lisp/disp-table.el	Sat Nov 10 09:56:32 2007 +0000
@@ -75,7 +75,7 @@
 ;;;###autoload
 (defun describe-display-table (dt)
   "Describe the display table DT in a help buffer."
-  (with-output-to-temp-buffer "*Help*"
+  (with-help-window "*Help*"
     (princ "\nTruncation glyph: ")
     (prin1 (display-table-slot dt 'truncation))
     (princ "\nWrap glyph: ")
@@ -97,8 +97,7 @@
 	  (aset vector i (aref dt i))
 	  (setq i (1+ i)))
 	(describe-vector vector))
-      (help-mode))
-    (print-help-return-message)))
+      (help-mode))))
 
 ;;;###autoload
 (defun describe-current-display-table ()