Gnus development mailing list
 help / color / mirror / Atom feed
* nnir error on void-variable gnus-registry-install
@ 2010-12-17 16:28 Kan-Ru Chen
  2010-12-17 16:32 ` Andrew Cohen
  0 siblings, 1 reply; 2+ messages in thread
From: Kan-Ru Chen @ 2010-12-17 16:28 UTC (permalink / raw)
  To: ding; +Cc: Andrew Cohen

Hi,

It seems the commit 43c9807f88d4fa729999e0de912b94021d0f742f broke the
nnir search functionality.

--8<---------------cut here---------------start------------->8---
diff --git a/lisp/nnir.el b/lisp/nnir.el
index 4c01b47..b649bf3 100644
--- a/lisp/nnir.el
+++ b/lisp/nnir.el
@@ -1590,7 +1590,8 @@ server is of form 'backend:name'."
   (when (eq (car (gnus-find-method-for-group gnus-newsgroup-name)) 'nnir)
     (setq gnus-summary-line-format
          (or nnir-summary-line-format gnus-summary-line-format))
-    (when (eq gnus-registry-install t)
+    (when (and (boundp 'gnus-registry-install)
+               (eq gnus-registry-install t))
       (remove-hook 'gnus-summary-article-delete-hook 'gnus-registry-action t)
       (remove-hook 'gnus-summary-article-move-hook 'gnus-registry-action t)
       (remove-hook 'gnus-summary-article-expire-hook 'gnus-registry-action t)
--8<---------------cut here---------------end--------------->8---

- Kanru



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

* Re: nnir error on void-variable gnus-registry-install
  2010-12-17 16:28 nnir error on void-variable gnus-registry-install Kan-Ru Chen
@ 2010-12-17 16:32 ` Andrew Cohen
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Cohen @ 2010-12-17 16:32 UTC (permalink / raw)
  To: ding

>>>>> "Kan-Ru" == Kan-Ru Chen <kanru@kanru.info> writes:

    Kan-Ru> Hi, It seems the commit
    Kan-Ru> 43c9807f88d4fa729999e0de912b94021d0f742f broke the nnir
    Kan-Ru> search functionality.  



Thanks, I'll push your fix shortly.




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

end of thread, other threads:[~2010-12-17 16:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-17 16:28 nnir error on void-variable gnus-registry-install Kan-Ru Chen
2010-12-17 16:32 ` Andrew Cohen

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).