[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/epa-dired.el,v
From: |
Michael W. Olson |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/epa-dired.el,v |
Date: |
Sun, 10 Feb 2008 20:57:49 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Michael W. Olson <mwolson> 08/02/10 20:57:47
Index: lisp/epa-dired.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/epa-dired.el,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- lisp/epa-dired.el 9 Feb 2008 02:29:01 -0000 1.3
+++ lisp/epa-dired.el 10 Feb 2008 20:57:46 -0000 1.4
@@ -82,6 +82,14 @@
(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