Revert to normal when found.
authorfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Sun, 30 Oct 2005 02:07:16 +0000 (02:07 +0000)
committerfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Sun, 30 Oct 2005 02:07:16 +0000 (02:07 +0000)
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@426 959494ce-11ee-0310-bf91-de5d638817bd

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