[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to show *Warnings* buffer at startup time?
From: |
Lennart Borgman |
Subject: |
Re: How to show *Warnings* buffer at startup time? |
Date: |
Wed, 18 Mar 2009 14:28:16 +0100 |
On Wed, Mar 18, 2009 at 2:22 PM, Kenichi Handa <address@hidden> wrote:
> I'm going to change create-fontset-from-x-resource
> (fontset.el) as this:
>
> @@ -1049,8 +1058,11 @@
> (while (setq fontset-spec (x-get-resource (format "fontset-%d" idx)
> (format "Fontset-%d" idx)))
> (condition-case nil
> - (create-fontset-from-fontset-spec fontset-spec t 'noerror)
> - (error (message "Fontset-%d: invalid specification in X resource"
> idx)))
> + (create-fontset-from-fontset-spec fontset-spec t)
> + (error (display-warning
> + 'initialization
> + (format "Fontset-%d: invalid specification in X resource" idx)
> + :warning)))
> (setq idx (1+ idx)))))
>
> ;;
>
> But the *Warnings* buffer doesn't show up at startup time
> even if create-fontset-from-fontset-spec causes an error.
> Could someone tell me what is wrong with the above change?
Could it be that something later closes the window that shows the
*Warnings* buffer?