Function: nnir-add-result
nnir-add-result is a macro defined in nnir.el.gz.
Signature
(nnir-add-result DIRNAM ARTNO SCORE PREFIX SERVER ARTLIST)
Documentation
Construct a result vector and add it to ARTLIST.
DIRNAM, ARTNO, SCORE, PREFIX and SERVER are passed to
nnir-compose-result to make the vector. Only add the result if
non-nil.
Source Code
;; Defined in /usr/src/emacs/lisp/obsolete/nnir.el.gz
(defmacro nnir-add-result (dirnam artno score prefix server artlist)
"Construct a result vector and add it to ARTLIST.
DIRNAM, ARTNO, SCORE, PREFIX and SERVER are passed to
`nnir-compose-result' to make the vector. Only add the result if
non-nil."
`(let ((result (nnir-compose-result ,dirnam ,artno ,score ,prefix ,server)))
(when (not (null result))
(push result ,artlist))))