about summary refs log tree commit diff
path: root/emacs/.emacs.d/wpc/ivy-helpers.el
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-09-02T14·23+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-09-02T14·23+0100
commitf089f3c550af5237e6748913f21084115499782d (patch)
tree9d6d9e44b81801c65a197bfb5ac9e72ecea782bd /emacs/.emacs.d/wpc/ivy-helpers.el
parentea274f924a637b3c32be0c19c961897ceacfae7c (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.el7
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 69fcfb0338..d13b993534 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