From f089f3c550af5237e6748913f21084115499782d Mon Sep 17 00:00:00 2001 From: William Carroll Date: Wed, 2 Sep 2020 15:23:46 +0100 Subject: Linting Elisp TL;DR: - Prefer cl-lib - Prefer spaces to tabs - Resolve various checkdoc complaints --- emacs/.emacs.d/wpc/ivy-helpers.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'emacs/.emacs.d/wpc/ivy-helpers.el') 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 -- cgit 1.4.1