[gnus git] branch master updated: n0-17-187-ge188967 =1= Use default value from global variable.

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


- Log -----------------------------------------------------------------
commit e1889675b7f4adf057833c5513c9374134c4e053
Author: Kan-Ru Chen <[email protected]>
Date:   Tue Jul 19 18:46:34 2011 +0200

    Use default value from global variable.
    
    Without this the default search engine parameters aren't used at all.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index eca7490..f99a1bd 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
+2011-07-07  Kan-Ru Chen  <[email protected]>
+
+	* nnir.el (nnir-read-server-parm): Use default value from global
+	variable.  Without this the default search engine parameters aren't
+	used at all.
+
 2011-07-19  Lars Magne Ingebrigtsen  <[email protected]>
 
 	* message.el (message-unique-id): Don't use the undocumented return
diff --git a/lisp/nnir.el b/lisp/nnir.el
index 8099cc2..3f140ef 100644
--- a/lisp/nnir.el
+++ b/lisp/nnir.el
@@ -1640,6 +1640,7 @@ server is of form 'backend:name'."
   (let ((method (gnus-server-to-method server)))
     (cond ((and method (assq key (cddr method)))
     	   (nth 1 (assq key (cddr method))))
+	  ((boundp key) (symbol-value key))
     	  (t nil))))
 
 (defun nnir-possibly-change-server (server)

-----------------------------------------------------------------------
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 |    6 ++++++
 lisp/nnir.el   |    1 +
 2 files changed, 7 insertions(+), 0 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.