Skip to content

Commit

Permalink
xcdoc:search command, async -> sync.
Browse files Browse the repository at this point in the history
quite slow but useful.
  • Loading branch information
imakado committed Oct 13, 2009
1 parent 5d8c6a7 commit 88e27d3
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions xcode-document-viewer.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)))))))

Expand Down

0 comments on commit 88e27d3

Please sign in to comment.