Gnus development mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] nnir.el (nnir-read-server-parm): Use default value.
@ 2011-04-03 14:48 Kan-Ru Chen
  2011-04-03 14:48 ` [PATCH 2/2] nnir.el: New `notmuch' backend Kan-Ru Chen
  0 siblings, 1 reply; 16+ messages in thread
From: Kan-Ru Chen @ 2011-04-03 14:48 UTC (permalink / raw)
  To: ding; +Cc: Andrew Cohen, Kan-Ru Chen

Signed-off-by: Kan-Ru Chen <kanru@kanru.info>
---
 lisp/ChangeLog |    4 ++++
 lisp/nnir.el   |    1 +
 2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7fd853e..4a802c5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2011-04-03  Kan-Ru Chen  <kanru@kanru.info>
+
+	* nnir.el (nnir-read-server-parm): Use default value.
+
 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
 
 	* nnimap.el (nnimap-open-connection-1): Pass explicit :end-of-command
diff --git a/lisp/nnir.el b/lisp/nnir.el
index eaaac3f..6f3cd9e 100644
--- a/lisp/nnir.el
+++ b/lisp/nnir.el
@@ -1518,6 +1518,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)
-- 
1.7.4.1




^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2013-08-02  1:28 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-03 14:48 [PATCH 1/2] nnir.el (nnir-read-server-parm): Use default value Kan-Ru Chen
2011-04-03 14:48 ` [PATCH 2/2] nnir.el: New `notmuch' backend Kan-Ru Chen
2011-04-03 17:43   ` Lars Magne Ingebrigtsen
2011-04-04  1:04     ` Kan-Ru Chen
2011-04-04 13:43     ` Ted Zlatanov
2011-04-05  1:02       ` Kan-Ru Chen
2011-04-05 14:34         ` Ted Zlatanov
2011-04-06  6:08           ` Erik Colson
2011-04-06 13:22             ` Ted Zlatanov
2011-04-06  8:12           ` Kan-Ru Chen
2011-04-06  9:30       ` Julien Danjou
2011-07-04 16:09     ` Kan-Ru Chen
2011-07-05 20:22       ` Lars Magne Ingebrigtsen
2013-01-09 16:40         ` Gour
2013-08-01 22:14           ` Lars Magne Ingebrigtsen
2013-08-02  1:28             ` Kan-Ru Chen (陳侃如)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).