diff options
author | William Carroll <wpcarro@gmail.com> | 2020-09-02T14·23+0100 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-09-02T14·23+0100 |
commit | f089f3c550af5237e6748913f21084115499782d (patch) | |
tree | 9d6d9e44b81801c65a197bfb5ac9e72ecea782bd /emacs/.emacs.d/wpc/ivy-helpers.el | |
parent | ea274f924a637b3c32be0c19c961897ceacfae7c (diff) |
Linting Elisp
TL;DR: - Prefer cl-lib - Prefer spaces to tabs - Resolve various checkdoc complaints
Diffstat (limited to 'emacs/.emacs.d/wpc/ivy-helpers.el')
-rw-r--r-- | emacs/.emacs.d/wpc/ivy-helpers.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/emacs/.emacs.d/wpc/ivy-helpers.el b/emacs/.emacs.d/wpc/ivy-helpers.el index 69fcfb03386a..d13b99353451 100644 --- a/emacs/.emacs.d/wpc/ivy-helpers.el +++ b/emacs/.emacs.d/wpc/ivy-helpers.el @@ -14,15 +14,16 @@ (require 'tuple) (require 'string) -(require 'cl-macs) +(require 'cl-lib) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Library ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (cl-defun ivy-helpers-kv (prompt kv f) - "PROMPT users with the keys in KV and return its corresponding value. Calls F -with the key and value from KV." + "PROMPT users with the keys in KV and return its corresponding value. + +Apply key and value from KV to F." (ivy-read prompt kv |