Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds :description for dep search #34

Merged
merged 2 commits into from
Apr 25, 2022

Conversation

agzam
Copy link
Contributor

@agzam agzam commented Apr 24, 2022

Adds description field for the dep search.
Related to: #31

@agzam agzam marked this pull request as ready for review April 25, 2022 01:31
@@ -9,7 +9,7 @@
;; Version: 0.0.1
;; Keywords: convenience tools
;; Homepage: https://github.com/babashka/neil
;; Package-Requires: ((emacs "26.1"))
;; Package-Requires: ((emacs "27.1"))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had to bump it for rx-let below

(when-let (item (assoc s minibuffer-completion-table))
(format " %s" (cdr item))))
(let-alist (cdr (assoc s minibuffer-completion-table))
(concat " " .version " " .description)))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better to use concat here, format doesn't interpolate nil values.

(exe (if-let ((exe (executable-find "neil")))
exe (user-error "Cannot find 'neil' command!")))
(exe (if-let ((exe (executable-find (or neil-executable-path "neil"))))
exe (user-error "Cannot find 'neil' cmd-line utility!")))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Cannot find neil command" can be confused with Emacs command.

@borkdude borkdude merged commit d527fd1 into babashka:main Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants