diff options
| author | Stefan Kangas | 2022-09-21 08:27:42 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2022-09-21 08:29:05 +0200 |
| commit | cc9acda7d36ea980af8cc987ab5eb746284bbff0 (patch) | |
| tree | c5d022972519ed569998688da39b63b14dfe8559 | |
| parent | df79a23da7ac5664ae83b8a05dc725f0a3f20ac3 (diff) | |
| download | emacs-cc9acda7d36ea980af8cc987ab5eb746284bbff0.tar.gz emacs-cc9acda7d36ea980af8cc987ab5eb746284bbff0.zip | |
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'.
| -rw-r--r-- | lisp/image/image-dired.el | 2 |
1 files changed, 2 insertions, 0 deletions
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 | |||
| 936 | "Browse and manipulate thumbnail images using Dired. | 936 | "Browse and manipulate thumbnail images using Dired. |
| 937 | Use `image-dired-minor-mode' to get a nice setup." | 937 | Use `image-dired-minor-mode' to get a nice setup." |
| 938 | :interactive nil | 938 | :interactive nil |
| 939 | :group 'image-dired | ||
| 939 | (buffer-disable-undo) | 940 | (buffer-disable-undo) |
| 940 | (add-hook 'file-name-at-point-functions 'image-dired-file-name-at-point nil t) | 941 | (add-hook 'file-name-at-point-functions 'image-dired-file-name-at-point nil t) |
| 941 | (setq-local window-resize-pixelwise t) | 942 | (setq-local window-resize-pixelwise t) |
| @@ -951,6 +952,7 @@ Use `image-dired-minor-mode' to get a nice setup." | |||
| 951 | "Mode for displaying and manipulating original image. | 952 | "Mode for displaying and manipulating original image. |
| 952 | Resized or in full-size." | 953 | Resized or in full-size." |
| 953 | :interactive nil | 954 | :interactive nil |
| 955 | :group 'image-dired | ||
| 954 | (add-hook 'file-name-at-point-functions #'image-dired-file-name-at-point nil t)) | 956 | (add-hook 'file-name-at-point-functions #'image-dired-file-name-at-point nil t)) |
| 955 | 957 | ||
| 956 | 958 | ||