;; GNU Emacs is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
+;; the Free Software Foundation; either version 3, or (at your option)
;; any later version.
;; GNU Emacs is distributed in the hope that it will be useful,
;;;###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: ")
(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 ()