Skip to content
Browse files

xcdoc:search command, async -> sync.

quite slow but useful.
  • Loading branch information...
1 parent 5d8c6a7 commit 88e27d35de52ece58b3fb897aa868196207d0de0 imakado committed Oct 14, 2009
Showing with 7 additions and 3 deletions.
  1. +7 −3 xcode-document-viewer.el
View
10 xcode-document-viewer.el
@@ -134,9 +134,13 @@
(defun xcdoc:search-source ()
`((name . ,(xcdoc:document-path))
(candidates . (lambda ()
- (xcdoc:excecute-search-async
- :query anything-pattern
- :docset (xcdoc:document-path))))
+ (xcdoc:build-candidates-from-command-res
+ (xcdoc:excecute-search
+ :query anything-pattern
+ :docset (xcdoc:document-path)))))
+ (volatile)
+ (delayed)
+ (requires-pattern . 2)
(action . (("w3m" . xcdoc:open-w3m)
("w3m new-session" . (lambda (c) (xcdoc:open-w3m c t)))))))

0 comments on commit 88e27d3

Please sign in to comment.
Something went wrong with that request. Please try again.