# HG changeset patch # User Martin Rudalics # Date 1194688510 0 # Node ID b8077b8314c53ff093ae64f25f7bfcab6ec3e3f1 # Parent 4077065d30262931bfaf1b28cbfd57930d73346e (apropos-describe-plist): Use with-help-window instead of with-output-to-temp-buffer. diff -r 4077065d3026 -r b8077b8314c5 lisp/apropos.el --- 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)