diff options
author | William Carroll <wpcarro@gmail.com> | 2020-09-01T12·44+0100 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-09-01T13·00+0100 |
commit | 718899c629bb1b8bd05285c2e8c5a1709e8e5226 (patch) | |
tree | bd360e7b7779e8d8f05df3eb1059887ede6ed8c7 /emacs/.emacs.d/wpc/ivy-helpers.el | |
parent | 3b2fffe954e3927673e403ee124a78f78bb1c45c (diff) |
More Elisp linting
In order for this to scale, I need to solve two things: 1. Ad-hoc ignore fill-column rules for URLs and other exceptions. 2. Run Elisp flychecker without evaluating my Elisp code and firing its side-effects.
Diffstat (limited to 'emacs/.emacs.d/wpc/ivy-helpers.el')
-rw-r--r-- | emacs/.emacs.d/wpc/ivy-helpers.el | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/emacs/.emacs.d/wpc/ivy-helpers.el b/emacs/.emacs.d/wpc/ivy-helpers.el index 068598082975..8b53c62fd643 100644 --- a/emacs/.emacs.d/wpc/ivy-helpers.el +++ b/emacs/.emacs.d/wpc/ivy-helpers.el @@ -40,8 +40,7 @@ with the key and value from KV." (message "%s process finished." process))))) (defun ivy-helpers-list-external-commands () - "Creates a list of all external commands available on $PATH while filtering -NixOS wrappers." + "Create a list of all external commands available on $PATH." (cl-loop for dir in (split-string (getenv "PATH") path-separator) when (and (file-exists-p dir) (file-accessible-directory-p dir)) @@ -56,8 +55,7 @@ NixOS wrappers." finally return (sort completions 'string-lessp))) (defun ivy-helpers-run-external-command () - "Prompts the user with a list of all installed applications and -lets them select one to launch." + "Prompts the user with a list of all installed applications to launch." (interactive) (let ((external-commands-list (ivy-helpers-list-external-commands))) (ivy-read "Command:" external-commands-list |