[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#65762: [PATCH] ; Fix error in 'tex-recenter-output-buffer'
From: |
Eli Zaretskii |
Subject: |
bug#65762: [PATCH] ; Fix error in 'tex-recenter-output-buffer' |
Date: |
Wed, 06 Sep 2023 15:27:14 +0300 |
> From: Tassilo Horn <tsdh@gnu.org>
> Cc: Eshel Yaron <me@eshelyaron.com>, 65762@debbugs.gnu.org
> Date: Wed, 06 Sep 2023 13:03:26 +0200
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> Hi Eshel & Eli,
>
> >> This fixes an issue in `tex-recenter-output-buffer` (which affect
> >> several other commands that rely on it) where it calls
> >> `display-buffer` and tries to select the returned window, without
> >> checking that `display-buffer` returned non-nil. This leads to an
> >> error when `display-tex-shell-buffer-action` or
> >> `display-buffer-alist` are configured to prevent the display of the
> >> *tex-shell* buffer.
> >
> > Thanks. Tassilo, any comments?
>
> Yes, looks right in cases where display-tex-shell-buffer-action is
> display-buffer-no-window or maybe something similar is achieved by
> display-buffer-alist which would lead to errors right now. But I'm no
> authority here, tex-mode.el is not tex.el (from auctex).
Thanks.
Martin, any further comments?