branch: externals/autocrypt
commit cd290fc1cbafad328899082063130b1ddce1df1a
Author: Philip Kaludercic <[email protected]>
Commit: Philip Kaludercic <[email protected]>

    Modify the local hook values in autocrypt-mu4e--uninstall
---
 autocrypt-mu4e.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/autocrypt-mu4e.el b/autocrypt-mu4e.el
index 6c62a19552..cfa4e42f88 100644
--- a/autocrypt-mu4e.el
+++ b/autocrypt-mu4e.el
@@ -30,8 +30,8 @@
 
 (defun autocrypt-mu4e--uninstall ()
   "Remove autocrypt hooks for mu4e."
-  (remove-hook 'mu4e-view-mode-hook #'autocrypt-process-header)
-  (remove-hook 'mu4e-compose-mode-hook #'autocrypt-compose-setup))
+  (remove-hook 'mu4e-view-mode-hook #'autocrypt-process-header t)
+  (remove-hook 'mu4e-compose-mode-hook #'autocrypt-compose-setup t))
 
 (defun autocrypt-mu4e--get-header (header)
   "Ask mu4e to return HEADER."

Reply via email to