emacs-devel
[Top][All Lists]
Advanced

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

Re: Problems with lwarn at startup


From: Juanma Barranquero
Subject: Re: Problems with lwarn at startup
Date: Thu, 14 Dec 2006 00:59:33 +0100

On 12/13/06, Richard Stallman <address@hidden> wrote:

This is important to debug, since we're talking about using lwarn
during startup.  Would someone please fix it and ack?

When Lennart answers "n", lwarn splits the frame into two windows
(using the lower one for the warning). startup.el contains a function
`use-fancy-splash-screens-p' which decides whether to use "fancy"
(graphic) or "normal" (text) splash screen according to several
criteria, among them the following:

(> window-height (+ image-height 19))

If you try starting Emacs with the following .emacs.el:

;;;;;;;;;;;;;;;;; .emacs.el ;;;;;;;;;;;;;;;;;
(defun use-fancy-splash-screens-p () t)
(unless (y-or-n-p "Some question ")
  (lwarn '(test) :warning "Test warning"))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

you won't see the "bug".

                   /L/e/k/t/u




reply via email to

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