Skip to content

Commit

Permalink
Merge 0399d9d into 192b862
Browse files Browse the repository at this point in the history
  • Loading branch information
CGenie committed Mar 27, 2019
2 parents 192b862 + 0399d9d commit a2d22a7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions helm-dash.el
Expand Up @@ -317,7 +317,7 @@ If doesn't exist, it asks to create it."
(cond
((and (not (equal result 0))
;; TODO: Adjust to proper text. Also requires correct locale.
(backward-search "too long"))
(search-backward "too long"))
(error "Failed to extract %s to %s. Filename too long. Consider changing `helm-dash-docsets-path' to a shorter value"))
((not (equal result 0)) (error "Failed to extract %s to %s. Error: %s" docset-temp-path (helm-dash-docsets-path) result)))
(goto-char (point-max))
Expand Down Expand Up @@ -408,7 +408,8 @@ The Argument FEED-PATH should be a string with the path of the xml file."
(defvar helm-dash-sql-queries
'((DASH . (lambda (pattern)
(let ((like (helm-dash-sql-compose-like "t.name" pattern))
(query "SELECT t.type, t.name, t.path FROM searchIndex t WHERE %s ORDER BY LENGTH(t.name), LOWER(t.name) LIMIT 1000"))
(query "SELECT t.type, t.name, t.path FROM
Index t WHERE %s ORDER BY LENGTH(t.name), LOWER(t.name) LIMIT 1000"))
(format query like))))
(ZDASH . (lambda (pattern)
(let ((like (helm-dash-sql-compose-like "t.ZTOKENNAME" pattern))
Expand Down

0 comments on commit a2d22a7

Please sign in to comment.