Gnus development mailing list
 help / color / mirror / Atom feed
From: Kan-Ru Chen <kanru@kanru.info>
To: ding@gnus.org
Cc: Andrew Cohen <cohen@andy.bu.edu>, Kan-Ru Chen <kanru@kanru.info>
Subject: [PATCH 1/2] nnir.el (nnir-read-server-parm): Use default value.
Date: Sun,  3 Apr 2011 22:48:24 +0800	[thread overview]
Message-ID: <1301842105-18495-1-git-send-email-kanru@kanru.info> (raw)

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




             reply	other threads:[~2011-04-03 14:48 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-03 14:48 Kan-Ru Chen [this message]
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 (陳侃如)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1301842105-18495-1-git-send-email-kanru@kanru.info \
    --to=kanru@kanru.info \
    --cc=cohen@andy.bu.edu \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).