Skip to content

Commit

Permalink
Emacs: neil.el should work with compound commands
Browse files Browse the repository at this point in the history
fixes: #245
  • Loading branch information
agzam committed Dec 7, 2024
1 parent c4a05b3 commit 7b5de27
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion neil.el
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,12 @@ the dependency to the project (deps.edn only)."
(when desc `(description . ,desc)))))))
res))))

(exe (if-let ((exe (executable-find (or neil-executable-path "neil"))))
(exe (if-let* ((exe (thread-first
neil-executable-path
(or "neil")
split-string
car
executable-find)))
exe (user-error "Cannot find 'neil' cmd-line utility!")))

(res (funcall perform-action exe (concat "dep search " (shell-quote-argument term))))
Expand Down

0 comments on commit 7b5de27

Please sign in to comment.