(ucs-names)))))
(insert-char (get-text-property 0 'result char))))
+(declare-function cider-sync-request:complete "ext:cider-client")
(defun counsel-clj ()
"Clojure completion at point."
(interactive)
(lambda (str)
(mapcar
#'cl-caddr
- (with-no-warnings
- (cider-sync-request:complete str ":same"))))))
+ (cider-sync-request:complete str ":same")))))
(defun counsel-git ()
"Find file in the current Git repository."
UPDATE-FN is called each time the current candidate(s) is changed."
(setq ivy--directory nil)
- (cond ((eq collection 'read-file-name-internal)
+ (cond ((eq collection 'Info-read-node-name-1)
+ (if (equal Info-current-file "dir")
+ (setq collection
+ (mapcar (lambda (x) (format "(%s)" x))
+ (cl-delete-duplicates
+ (all-completions "(" collection predicate)
+ :test 'equal)))
+ (setq collection (all-completions "" collection predicate))))
+ ((eq collection 'read-file-name-internal)
(setq ivy--directory default-directory)
(setq initial-input nil)
(setq collection