mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
EasyPG: Rename epa-mail-minor-mode to epa-global-mail-mode.
This commit is contained in:
parent
c53956fead
commit
78df961d59
@ -6,7 +6,7 @@
|
||||
(epg-bug-report-address): New constant.
|
||||
|
||||
* epa-mail.el (epa-mail-mode): Add autoload cookie.
|
||||
(epa-mail-minor-mode): New global minor mode.
|
||||
(epa-global-mail-mode): New global minor mode.
|
||||
|
||||
* epa-file.el (epa-file-mode): New global minor mode.
|
||||
|
||||
|
@ -175,11 +175,11 @@ Don't use this command in Lisp programs!"
|
||||
(epa-import-armor-in-region (point-min) (point-max)))
|
||||
|
||||
;;;###autoload
|
||||
(define-minor-mode epa-mail-minor-mode
|
||||
(define-minor-mode epa-global-mail-mode
|
||||
"Minor mode to hook EasyPG into Mail mode."
|
||||
:global t :init-value nil :group 'epa-mail :version "23.1"
|
||||
(remove-hook 'mail-mode-hook 'epa-mail-mode)
|
||||
(if epa-mail-minor-mode
|
||||
(if epa-global-mail-mode
|
||||
(add-hook 'mail-mode-hook 'epa-mail-mode)))
|
||||
|
||||
(provide 'epa-mail)
|
||||
|
@ -47,7 +47,7 @@ the separate window."
|
||||
|
||||
(defcustom epa-global-minor-modes '(epa-dired-mode
|
||||
epa-file-mode
|
||||
epa-mail-minor-mode
|
||||
epa-global-mail-mode
|
||||
epa-menu-mode)
|
||||
"Globally defined minor modes to hook into other modes."
|
||||
:type '(repeat symbol)
|
||||
|
Loading…
Reference in New Issue
Block a user