Revert to normal when found.
[doldaconnect.git] / lib / guile / autodl
index d9e291b..1f3c086 100755 (executable)
                                                        (write-info-file)))))
                                          ((622) ; Search result
                                           (let ((ires (list->vector (dc-intresp resp))))
+                                            (if (eq? (cdr (assoc 'search-mode session)) 'wait)
+                                                (set-cdr! (assoc 'search-mode session) 'normal))
                                             (if (and ires (= (vector-ref ires 0) srchid)) (apply handlesr (map (lambda (n) (vector-ref ires n)) '(1 2 3 4 5 7 8))))))
                                          
                                          )