diff options
author | Michael Olson <mwolson@gnu.org> | 2008-02-10 20:57:47 +0000 |
---|---|---|
committer | Michael Olson <mwolson@gnu.org> | 2008-02-10 20:57:47 +0000 |
commit | f1914c4078082de71933f6cdf7735411e488d045 (patch) | |
tree | cfb6b673ff2bb8fdd02e1a5aa7b7e5e96c0d6f18 /lisp/epa-dired.el | |
parent | c6588a85bcb0bdcd615f4f34496d71943120e7ae (diff) | |
download | emacs-f1914c4078082de71933f6cdf7735411e488d045.tar.gz emacs-f1914c4078082de71933f6cdf7735411e488d045.tar.bz2 emacs-f1914c4078082de71933f6cdf7735411e488d045.zip |
EasyPG: Implement some suggestions from emacs-devel.
Diffstat (limited to 'lisp/epa-dired.el')
-rw-r--r-- | lisp/epa-dired.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lisp/epa-dired.el b/lisp/epa-dired.el index 945dd97b767..ab0bf7d92a2 100644 --- a/lisp/epa-dired.el +++ b/lisp/epa-dired.el @@ -82,6 +82,14 @@ If no one is selected, symmetric encryption will be performed. ")) (setq file-list (cdr file-list))) (revert-buffer))) +;;;###autoload +(define-minor-mode epa-dired-mode + "Minor mode to hook EasyPG into Dired." + :global t :init-value nil :group 'epa-dired :version "23.1" + (remove-hook 'dired-mode-hook 'epa-dired-mode-hook) + (if epa-dired-mode + (add-hook 'dired-mode-hook 'epa-dired-mode-hook))) + (provide 'epa-dired) ;; arch-tag: 2025700b-48d0-4684-bc94-228ad1f8e9ff |