Re: Strange draft problem

Greg Bognar <[email protected]> Thu, 25 Jul 2019 11:05:27 +0200
Newsgroups gmane.mail.wanderlust.general.japanese
Message-ID <[email protected]>
On Thu 25 Jul 2019 at 10:32 Kazuhiro Ito wrote:
> > > It seems that wl-window-deletable-p returns non-nil for non-deletable
> > > window.  Try to write the below code in your draft buffer which raises
> > > the error by wl-draft-kill, and evaluate it (C-x C-e at the right of
> > > the last closing paren).  Please confrim the result which is showed in
> > > minibuffer.  Recent emacs should return "(t nil nil)".
> > > 
> > > (list
> > >  (fboundp 'window-deletable-p)
> > >  (null (one-window-p))
> > >  (wl-window-deletable-p))
> > > 
> > 
> > I get (t nil frame).
> 
> I missed that window-deletable-p returned non-nil when selected window
> is a only window in a frame (i.e. window is undeletable) but the frame
> is deletable.  I've committed the fix.

Right.  I do not get the problem when the draft buffer is the only window but
there is only one frame.

Thanks for fixing this!

All the best,
Greg