]> git.eshelyaron.com Git - emacs.git/commitdiff
image-dired: Mark 'per-directory' as :safe
authorStefan Kangas <stefankangas@gmail.com>
Sat, 24 Sep 2022 10:38:41 +0000 (12:38 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Sat, 24 Sep 2022 12:07:57 +0000 (14:07 +0200)
* lisp/image/image-dired.el (image-dired-thumbnail-storage): Mark
'per-directory' value as :safe.

lisp/image/image-dired.el

index 07c76a2a1ffb58bc1f5db2584345042697421a76..d84734f4d4656beb53f0f1914a8bfce7941c33cd 100644 (file)
@@ -209,6 +209,7 @@ https://specifications.freedesktop.org/thumbnail-spec/thumbnail-spec-latest.html
                  (const :tag "Thumbnail Managing Standard (extra large 1024x1024)"
                         standard-xx-large)
                  (const :tag "Per-directory" per-directory))
+  :safe (lambda (value) (eq value 'per-directory))
   :version "29.1")
 
 (define-obsolete-variable-alias 'image-dired-db-file