changeset 86007:b8077b8314c5

(apropos-describe-plist): Use with-help-window instead of with-output-to-temp-buffer.
author Martin Rudalics <rudalics@gmx.at>
date Sat, 10 Nov 2007 09:55:10 +0000
parents 4077065d3026
children 054e548612aa
files lisp/apropos.el
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/apropos.el	Sat Nov 10 09:54:07 2007 +0000
+++ b/lisp/apropos.el	Sat Nov 10 09:55:10 2007 +0000
@@ -1005,7 +1005,7 @@
 (defun apropos-describe-plist (symbol)
   "Display a pretty listing of SYMBOL's plist."
   (help-setup-xref (list 'apropos-describe-plist symbol) (interactive-p))
-  (with-output-to-temp-buffer (help-buffer)
+  (with-help-window (help-buffer)
     (set-buffer standard-output)
     (princ "Symbol ")
     (prin1 symbol)
@@ -1014,8 +1014,7 @@
 	(put-text-property (+ (point-min) 7) (- (point) 14)
 			   'face apropos-symbol-face))
     (insert (apropos-format-plist symbol "\n  "))
-    (princ ")")
-    (print-help-return-message)))
+    (princ ")")))
 
 
 (provide 'apropos)