From db2f8b8415b538ccb43f11a2142567ec6c5451d9 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sat, 3 Sep 2022 11:04:07 +0200 Subject: [PATCH] Increase image-dired-show-all-from-dir-max-files to 1000 * lisp/image/image-dired.el (image-dired-show-all-from-dir-max-files): Increase to 1000. --- etc/NEWS | 13 ++++++------- lisp/image/image-dired.el | 2 +- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index ef9bfd08e33..8269d3e7bf3 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -2023,13 +2023,12 @@ This replaces the message most navigation commands in the thumbnail buffer used to show at the bottom of the screen. +++ -*** 'image-dired-show-all-from-dir-max-files' has been increased to 500. -This option controls asking for confirmation when starting Image-Dired -in a directory with many files. However, Image-Dired creates -thumbnails in the background these days, so this is not as important -as it used to be, back when entering a large directory could lock up -Emacs for tens of seconds. In addition, you can now customize this -option to nil to disable this confirmation completely. +*** 'image-dired-show-all-from-dir-max-files' increased to 1000. +This user option controls asking for confirmation when starting +Image-Dired in a directory with many files. Since Image-Dired creates +thumbnails in the background in recent versions, this is not as +important as it used to be. You can now also customize this option to +nil to disable this confirmation completely. --- *** 'image-dired-rotate-thumbnail-(left|right)' is now obsolete. diff --git a/lisp/image/image-dired.el b/lisp/image/image-dired.el index b92166c1dcc..88f4ceaffb4 100644 --- a/lisp/image/image-dired.el +++ b/lisp/image/image-dired.el @@ -323,7 +323,7 @@ Used by `image-dired-copy-with-exif-file-name'." :type 'string :version "29.1") -(defcustom image-dired-show-all-from-dir-max-files 500 +(defcustom image-dired-show-all-from-dir-max-files 1000 "Maximum number of files in directory before prompting. If there are more image files than this in a selected directory, -- 2.39.2