[gnus git] branch master updated: n0-17-91-gea72370 =1= (with-auth-source-epa-overrides): Fix compilation error with `find-file-hooks' on Emacs 22.

Lars Magne Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  ea7237092488285b9607ec405873715a67fd5bbe (commit)
      from  8f8da5a1c7653cd841884f77c3e01f48d7e8722a (commit)


- Log -----------------------------------------------------------------
commit ea7237092488285b9607ec405873715a67fd5bbe
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Sun Jun 26 13:30:30 2011 +0200

    (with-auth-source-epa-overrides): Fix compilation error with `find-file-hooks' on Emacs 22.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 5103f1a..4ea4814 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
 2011-06-26  Lars Magne Ingebrigtsen  <[email protected]>
 
+	* auth-source.el (with-auth-source-epa-overrides): Fix compilation
+	error with `find-file-hooks' on Emacs 22.
+
 	* spam.el (spam-stat): Require in a normal fashion without binding
 	`spam-stat-install-hooks' to avoid compilation warnings.
 
diff --git a/lisp/auth-source.el b/lisp/auth-source.el
index c9a0929..2e8a82a 100644
--- a/lisp/auth-source.el
+++ b/lisp/auth-source.el
@@ -981,7 +981,7 @@ 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) find-file-hook find-file-hooks)))
          (auto-mode-alist
           ',(if (boundp 'epa-file-auto-mode-alist-entry)
                 (remove (symbol-value 'epa-file-auto-mode-alist-entry)

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog      |    3 +++
 lisp/auth-source.el |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.