From aeb2f23a3eae117afc8edf1e973daf2fbf819ae7 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 16 May 2017 17:38:26 +0200 Subject: [PATCH] completion/ivy: remove unused +ivy/kill-ring It was also redundant with counsel-yank-pop --- modules/completion/ivy/autoload/ivy.el | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/modules/completion/ivy/autoload/ivy.el b/modules/completion/ivy/autoload/ivy.el index 2a7fc0c68..924564e30 100644 --- a/modules/completion/ivy/autoload/ivy.el +++ b/modules/completion/ivy/autoload/ivy.el @@ -66,16 +66,6 @@ limit to buffers in the current workspace." :keymap ivy-switch-buffer-map :caller '+ivy/switch-workspace-buffer)) -;;;###autoload -(defun +ivy/kill-ring () - "Search through the kill ring with `ivy'." - (interactive) - (ivy-read "Kill ring:" - (cl-remove-if (lambda (it) - (or (< (length it) 3) - (string-match-p "\\`[\n[:blank:]]+\\'" it))) - (cl-remove-duplicates kill-ring :test 'equal)))) - ;; TODO refactor ivy task candidate functions (messy!) (defun +ivy--tasks-candidates (tasks) "Generate a list of task tags (specified by `+ivy-task-tags') for