From: Martin Rudalics Date: Sat, 10 Nov 2007 09:57:52 +0000 (+0000) Subject: (list-colors-display): Use with-help-window instead of with-output-to-temp-buffer. X-Git-Tag: emacs-pretest-23.0.90~9796 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4644fd351f17f8d36eee397b417f41cd5fd3066c;p=emacs.git (list-colors-display): Use with-help-window instead of with-output-to-temp-buffer. --- diff --git a/lisp/facemenu.el b/lisp/facemenu.el index 26a0231bf1a..968a115c5d1 100644 --- a/lisp/facemenu.el +++ b/lisp/facemenu.el @@ -516,7 +516,7 @@ argument BUFFER-NAME is nil, it defaults to *Colors*." (let ((lc (nthcdr (1- (display-color-cells)) list))) (if lc (setcdr lc nil))))) - (with-output-to-temp-buffer (or buffer-name "*Colors*") + (with-help-window (or buffer-name "*Colors*") (save-excursion (set-buffer standard-output) (setq truncate-lines t)