[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#61508: 30.0.50; [PATCH] Update thumbnail buffer's header more
From: |
Stefan Kangas |
Subject: |
bug#61508: 30.0.50; [PATCH] Update thumbnail buffer's header more |
Date: |
Wed, 15 Feb 2023 05:58:15 -0800 |
Manuel Giraud via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs@gnu.org> writes:
> Without this patch, the header of the thumbnail buffer does not always
> update correctly (for instance with "C-t .", "C-t a" and even "C-t d").
Thanks for the patch.
> From bfff40cc6e9327d90040578d3b751c03bb0911eb Mon Sep 17 00:00:00 2001
> From: Manuel Giraud <manuel@ledu-giraud.fr>
> Date: Tue, 14 Feb 2023 15:08:17 +0100
> Subject: [PATCH] Update thumbnail buffer's header more
>
> * lisp/image/image-dired.el (image-dired-display-thumbs): Call
> image-dired--update-header-line.
> ---
> lisp/image/image-dired.el | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/lisp/image/image-dired.el b/lisp/image/image-dired.el
> index 49b8d9f03c8..cfcd1851188 100644
> --- a/lisp/image/image-dired.el
> +++ b/lisp/image/image-dired.el
> @@ -593,7 +593,8 @@ image-dired-display-thumbs
> (if do-not-pop
> (display-buffer buf)
> (pop-to-buffer buf))
> - (image-dired--line-up-with-method))))
> + (image-dired--line-up-with-method)
> + (image-dired--update-header-line))))
>
> ;;;###autoload
> (defun image-dired-show-all-from-dir (dir)
> --
> 2.39.1
Eli, is it okay to install the above bug fix on the emacs-29 branch at
this point?