diff options
author | Mathias Dahl <mathias.dahl@gmail.com> | 2006-05-24 18:49:20 +0000 |
---|---|---|
committer | Mathias Dahl <mathias.dahl@gmail.com> | 2006-05-24 18:49:20 +0000 |
commit | 30b9d786b292d947cef1af98f903902e1ed8fe87 (patch) | |
tree | 5193aed6fdb3d906e4ddaf5e92dc7f6829ec7fd7 /lisp/dired.el | |
parent | f2793e8a7b2defae9ae08d4db9582f7a93f49b0f (diff) | |
download | emacs-30b9d786b292d947cef1af98f903902e1ed8fe87.tar.gz |
Added Thumbnails sub menu under Immediate and started to place `tumme' commands there. I could use some feedback on this change.
Diffstat (limited to 'lisp/dired.el')
-rw-r--r-- | lisp/dired.el | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/lisp/dired.el b/lisp/dired.el index ca50e3b5767..cdfc9a5c04c 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -1338,6 +1338,44 @@ Do so according to the former subdir alist OLD-SUBDIR-ALIST." (define-key map [menu-bar immediate wdired-mode] '(menu-item "Edit File Names" wdired-change-to-wdired-mode)) + (define-key dired-mode-map [menu-bar immediate tumme] + (cons "Thumbnails" (make-sparse-keymap "tumme"))) + + (define-key dired-mode-map + [menu-bar immediate tumme tumme-display-thumbs] + '(menu-item "Display thumbails for marked files" + tumme-display-thumbs)) + + (define-key dired-mode-map + [menu-bar immediate tumme tumme-tag-files] + '(menu-item "Add tag to marked files" + tumme-tag-files)) + + (define-key dired-mode-map + [menu-bar immediate tumme tumme-tag-remove] + '(menu-item "Remove tag from marked files" + tumme-tag-remove)) + + (define-key dired-mode-map + [menu-bar immediate tumme tumme-dired-display-image] + '(menu-item "Display sized image" + tumme-dired-display-image)) + + (define-key dired-mode-map + [menu-bar immediate tumme tumme-dired-display-external] + '(menu-item "Display image in external viewer" + tumme-dired-display-external)) + + (define-key dired-mode-map + [menu-bar immediate tumme tumme-dired-comment-files] + '(menu-item "Add comment to marked files" + tumme-dired-comment-files)) + + (define-key dired-mode-map + [menu-bar immediate tumme tumme-mark-tagged-files] + '(menu-item "Find and mark files with a certain tag" + tumme-mark-tagged-files)) + (define-key map [menu-bar regexp] (cons "Regexp" (make-sparse-keymap "Regexp"))) |