Alas, Emacs 24 doesn't understand this setting. Worse, Emacs and
`pinentry-curses' (or the `curses' mode of other pinentries) fight over
the terminal in a rather disastrous way.
(define-key mc-write-mode-map "\C-c/E" 'mc-encrypt-region)
(add-hook 'text-mode-hook 'mc-install-write-mode))))
(define-key mc-write-mode-map "\C-c/E" 'mc-encrypt-region)
(add-hook 'text-mode-hook 'mc-install-write-mode))))
+(setq epa-pinentry-mode 'loopback)
+
;;;--------------------------------------------------------------------------
;;; Other common declarations.
;;;--------------------------------------------------------------------------
;;; Other common declarations.