Re: Strange draft problem
Kazuhiro Ito <[email protected]> Thu, 25 Jul 2019 17:32:11 +0900
| Newsgroups | gmane.mail.wanderlust.general |
|---|---|
| Message-ID | <86o91iy0ok.wl--xmue__21300.2091435314$1564043625$gmane$org@d1.dion.ne.jp> |
> > 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. -- Kazuhiro Ito