[gnus git] branch master updated: =1= Add the optional second parameter to `local-variable-p' to be compatible with XEmacs.

Lars Magne Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  bc3020ecabd6e1e9702411d0e89aa9760b43b9e0 (commit)
      from  370f89245bc0358ccaf7a477a931557f1594cf2d (commit)


- Log -----------------------------------------------------------------
commit bc3020ecabd6e1e9702411d0e89aa9760b43b9e0
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Sun Jan 2 06:54:42 2011 +0100

    Add the optional second parameter to `local-variable-p' to be compatible with XEmacs.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index adff157..6e063b4 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2011-01-02  Lars Magne Ingebrigtsen  <[email protected]>
+
+	* auth-source.el (auth-source-create): Add the optional second
+	parameter to `local-variable-p' to be compatible with XEmacs.
+
 2011-01-02  Wang Diancheng  <[email protected]>  (tiny change)
 
 	* nnml.el (nnml-request-article): Allow requesting by Message-ID to
diff --git a/lisp/auth-source.el b/lisp/auth-source.el
index 5d38630..70d9323 100644
--- a/lisp/auth-source.el
+++ b/lisp/auth-source.el
@@ -1,6 +1,6 @@
 ;;; auth-source.el --- authentication sources for Gnus and Emacs
 
-;; Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
+;; Copyright (C) 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
 
 ;; Author: Ted Zlatanov <[email protected]>
 ;; Keywords: news
@@ -370,7 +370,7 @@ Return structure as specified by MODE."
 	    ;; making `epa-file-encrypt-to' local to this buffer lets
 	    ;; epa-file skip the key selection query (see the
 	    ;; `local-variable-p' check in `epa-file-write-region').
-	    (unless (local-variable-p 'epa-file-encrypt-to)
+	    (unless (local-variable-p 'epa-file-encrypt-to (current-buffer))
 	      (make-local-variable 'epa-file-encrypt-to))
 	    (if (listp auth-source-gpg-encrypt-to)
 		(setq epa-file-encrypt-to auth-source-gpg-encrypt-to)))

-----------------------------------------------------------------------
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      |    5 +++++
 lisp/auth-source.el |    4 ++--
 2 files changed, 7 insertions(+), 2 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.