]> code.delx.au - gnu-emacs/commitdiff
(describe-display-table): Use with-help-window instead of with-output-to-temp-buffer.
authorMartin Rudalics <rudalics@gmx.at>
Sat, 10 Nov 2007 09:56:32 +0000 (09:56 +0000)
committerMartin Rudalics <rudalics@gmx.at>
Sat, 10 Nov 2007 09:56:32 +0000 (09:56 +0000)
lisp/disp-table.el

index 4bf52896cf0e63ac3f93c1d9b405903f59997134..653d5b8360bd7e6b2666e285bf8fe8679581d29e 100644 (file)
@@ -75,7 +75,7 @@ Valid symbols are `truncation', `wrap', `escape', `control',
 ;;;###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 @@ Valid symbols are `truncation', `wrap', `escape', `control',
          (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 ()