image-dired: Support the customize-mode command

* lisp/image/image-dired.el (image-dired-thumbnail-mode)
(image-dired-display-image-mode): Add custom group 'image-dired'.
This commit is contained in:
Stefan Kangas 2022-09-21 08:27:42 +02:00
parent df79a23da7
commit cc9acda7d3

View file

@ -936,6 +936,7 @@ You probably want to use this together with
"Browse and manipulate thumbnail images using Dired.
Use `image-dired-minor-mode' to get a nice setup."
:interactive nil
:group 'image-dired
(buffer-disable-undo)
(add-hook 'file-name-at-point-functions 'image-dired-file-name-at-point nil t)
(setq-local window-resize-pixelwise t)
@ -951,6 +952,7 @@ Use `image-dired-minor-mode' to get a nice setup."
"Mode for displaying and manipulating original image.
Resized or in full-size."
:interactive nil
:group 'image-dired
(add-hook 'file-name-at-point-functions #'image-dired-file-name-at-point nil t))