emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ps-print-buffer-with-faces doesn't use selected frame's background


From: Vinicius Jose Latorre
Subject: Re: ps-print-buffer-with-faces doesn't use selected frame's background
Date: Sun, 21 Jan 2007 10:54:49 -0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2pre) Gecko/20070111 SeaMonkey/1.1

Richard Stallman wrote:
    If the ~/.emacs file have:

        (setq initial-frame-alist (append '((background-color "DarkSlateGray"))
                                          initial-frame-alist))
        (setq default-frame-alist (append '((background-color "DarkSlateGray"))
                                          default-frame-alist))
        (require 'printing) ; or (require 'ps-print)

then ps-print is loaded before initial-frame-alist has any effect, so, ps-default-bg is set to white.

Yes, that is the cause.  There is no way it can examine a frame
parameter before there is a frame.  So your other approach would seem
to be needed.

Ok, I've just updated Emacs 22 CVS.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]