]> git.eshelyaron.com Git - emacs.git/commit
Clean up keymap and menu code in image-dired
authorMark Oteiza <mvoteiza@udel.edu>
Sat, 3 Dec 2016 21:18:48 +0000 (16:18 -0500)
committerMark Oteiza <mvoteiza@udel.edu>
Sat, 3 Dec 2016 21:18:48 +0000 (16:18 -0500)
commitb905454680c7200e92112a54d2ebaf709776ca6a
tree35fea7e5421963180b3b5290ee1e263f8bfb1ba1
parente72b24fb4a7d8e6b70f7678e1bb6f28fd703ab3c
Clean up keymap and menu code in image-dired

A function to populate these maps is not necessary, just define the maps
once and for all.
* lisp/image-dired.el (image-dired-show-all-from-dir): Make prompt
clearer and in the spirit of dired's.
(image-dired-define-display-image-mode-keymap):
(image-dired-define-thumbnail-mode-keymap): Remove.
(image-dired-thumbnail-mode-map):
(image-dired-thumbnail-mode-line-up-map):
(image-dired-thumbnail-mode-tag-map): Assimilate all define-key and mode
menu code from the aforementioned removed functions.  Reorder so that
the definitions are inherited properly.
(image-dired-display-current-image-sized): Fix erroneous message.
(image-dired-thumbnail-mode):
(image-dired-display-image-mode): Remove defunct call.
lisp/image-dired.el