Restore article retrieval by message-id in nnselect
authorAndrew G Cohen <cohen@andy.bu.edu>
Tue, 25 Apr 2017 05:10:41 +0000 (13:10 +0800)
committerAndrew G Cohen <cohen@andy.bu.edu>
Thu, 27 Apr 2017 07:27:00 +0000 (15:27 +0800)
* lisp/gnus/nnselect.el (nnselect-request-article): If passed a
message-id attempt to find an article by searching.

; Silence byte-compiler

* lisp/gnus/nnselect.el (nnir-run-query): declare-function to silence
byte-compiler.

lisp/gnus/nnselect.el

index f0df5357840a010fd151978454f9fa04dd6a34a2..52f3c903229fdb59d11e61060c4ca653b58693bf 100644 (file)
@@ -264,6 +264,7 @@ If this variable is nil, or if the provided function returns nil,
     (mapc 'nnheader-insert-nov headers)
     'nov)))
 
+(declare-function nnir-run-query "nnir" (specs))
 (deffoo nnselect-request-article (article &optional group server to-buffer)
   (nnselect-possibly-change-group group server)
   ;; We shoud only arrive here if we are in an nnselect group and we