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

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

bug#24950: 25.1; shr-string-pixel-width cannot be called from a dedicate


From: Eli Zaretskii
Subject: bug#24950: 25.1; shr-string-pixel-width cannot be called from a dedicated buffer
Date: Sun, 20 Nov 2016 21:10:13 +0200

> From: David Bremner <david@tethera.net>
> Cc: 24950@debbugs.gnu.org
> Date: Sun, 20 Nov 2016 14:35:59 -0400
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > Thanks for the recipe.  Does the patch below solve your problem?
> >
> >     (save-window-excursion
> > +          ;; Avoid errors if the selected window is a dedicated one,
> > +          ;; and they just want to insert a document into it.
> > +          (set-window-dedicated-p nil nil)
> >       (set-window-buffer nil (current-buffer))
> 
> Yes, that seems to fix the problem (including the original crash in
> notmuch which motivated the report).

Thanks, pushed to the emacs-25 branch.





reply via email to

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