# HG changeset patch # User Martin Rudalics # Date 1194688592 0 # Node ID 80d1d625bb6fd58dcf201feecc1893a5d0e1c66b # Parent 054e548612aa1713e9ac497f9a1de4ef440709c3 (describe-display-table): Use with-help-window instead of with-output-to-temp-buffer. diff -r 054e548612aa -r 80d1d625bb6f lisp/disp-table.el --- 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 ()