aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas2021-11-12 04:27:11 +0100
committerStefan Kangas2021-11-12 04:27:35 +0100
commitc9914ba01b7c29f0ee5a2191f7c8a6577366b000 (patch)
treededb302fcd7b81469507724a9b3f3fdd38a080ca
parent1d95cef0feeb8276abda379d978aa4d40c4cddde (diff)
downloademacs-c9914ba01b7c29f0ee5a2191f7c8a6577366b000.tar.gz
emacs-c9914ba01b7c29f0ee5a2191f7c8a6577366b000.zip
Make image-dired-thumbnail-mode non-interactive
* lisp/image-dired.el (image-dired-thumbnail-mode): No longer interactive, as it only makes sense in a specially prepared buffer.
-rw-r--r--lisp/image-dired.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/image-dired.el b/lisp/image-dired.el
index 8e5a6d898c0..d57417b25b3 100644
--- a/lisp/image-dired.el
+++ b/lisp/image-dired.el
@@ -1660,6 +1660,7 @@ You probably want to use this together with
1660 special-mode "image-dired-thumbnail" 1660 special-mode "image-dired-thumbnail"
1661 "Browse and manipulate thumbnail images using Dired. 1661 "Browse and manipulate thumbnail images using Dired.
1662Use `image-dired-minor-mode' to get a nice setup." 1662Use `image-dired-minor-mode' to get a nice setup."
1663 :interactive nil
1663 (buffer-disable-undo) 1664 (buffer-disable-undo)
1664 (add-hook 'file-name-at-point-functions 'image-dired-file-name-at-point nil t) 1665 (add-hook 'file-name-at-point-functions 'image-dired-file-name-at-point nil t)
1665 (setq-local window-resize-pixelwise t) 1666 (setq-local window-resize-pixelwise t)