summaryrefslogtreecommitdiff
path: root/lisp/image-mode.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-02-16 16:50:41 -0800
committerGlenn Morris <rgm@gnu.org>2013-02-16 16:50:41 -0800
commitf05e2ff2e3d260d6480495886d9bdadd6c0d507f (patch)
treef49bd11b296907a3b063bafd9535c6a6a35aef6b /lisp/image-mode.el
parente630f18a8c6674c18a4db0596d9a2b7431586bba (diff)
downloademacs-f05e2ff2e3d260d6480495886d9bdadd6c0d507f.tar.gz
* lisp/image-mode.el (image-mode-map): Add image-dired menu entry.
Diffstat (limited to 'lisp/image-mode.el')
-rw-r--r--lisp/image-mode.el10
1 files changed, 8 insertions, 2 deletions
diff --git a/lisp/image-mode.el b/lisp/image-mode.el
index 52367811341..7787a26cc08 100644
--- a/lisp/image-mode.el
+++ b/lisp/image-mode.el
@@ -376,9 +376,15 @@ call."
:visible (eq image-type 'imagemagick)
:help "Rotate the image"]
"--"
- ["Next Image" image-next-file :active t
+ ["Show Thumbnails"
+ (lambda ()
+ (interactive)
+ (image-dired default-directory))
+ :active default-directory
+ :help "Show thumbnails for all images in this directory"]
+ ["Next Image" image-next-file :active buffer-file-name
:help "Move to next image in this directory"]
- ["Previous Image" image-previous-file :active t
+ ["Previous Image" image-previous-file :active buffer-file-name
:help "Move to previous image in this directory"]
"--"
["Animate Image" image-toggle-animation :style toggle