diff options
Diffstat (limited to 'lisp/gnus/auth-source.el')
-rw-r--r-- | lisp/gnus/auth-source.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/gnus/auth-source.el b/lisp/gnus/auth-source.el index 66497cd9a0c..c9cfc14fc55 100644 --- a/lisp/gnus/auth-source.el +++ b/lisp/gnus/auth-source.el @@ -971,7 +971,9 @@ Note that the MAX parameter is used so we can exit the parse early." (,(if (boundp 'find-file-hook) 'find-file-hook 'find-file-hooks) ',(remove 'epa-file-find-file-hook - (if (boundp 'find-file-hook) 'find-file-hook 'find-file-hooks))) + (if (boundp 'find-file-hook) + (symbol-value 'find-file-hook) + (symbol-value 'find-file-hooks)))) (auto-mode-alist ',(if (boundp 'epa-file-auto-mode-alist-entry) (remove (symbol-value 'epa-file-auto-mode-alist-entry) |