From e4c6673be6f3d5e63e0759bb78f0fb3721d8f7d9 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Thu, 4 Nov 2021 05:10:28 +0100 Subject: [PATCH] image-dired: Set default-directory in thumbnail buffer * lisp/image-dired.el (image-dired-show-all-from-dir): Set default-directory. This fixes e.g. 'dired-jump'. --- lisp/image-dired.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/image-dired.el b/lisp/image-dired.el index 6ba11a2b3fb..99b5dad3a19 100644 --- a/lisp/image-dired.el +++ b/lisp/image-dired.el @@ -1092,6 +1092,7 @@ never ask for confirmation." image-dired-show-all-from-dir-max-files)))) (image-dired-display-thumbs) (pop-to-buffer image-dired-thumbnail-buffer) + (setq default-directory dir) (image-dired-unmark-all-marks)) (t (message "Image-Dired canceled"))))) -- 2.39.5