From: Stefan Kangas Date: Wed, 21 Sep 2022 06:27:42 +0000 (+0200) Subject: image-dired: Support the customize-mode command X-Git-Tag: emacs-29.0.90~1856^2~339 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cc9acda7d36ea980af8cc987ab5eb746284bbff0;p=emacs.git 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'. --- diff --git a/lisp/image/image-dired.el b/lisp/image/image-dired.el index c2bb874cef3..41ed05f191a 100644 --- a/lisp/image/image-dired.el +++ b/lisp/image/image-dired.el @@ -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))