From 0f76a2bc3d38c298d92bff42266ac21d85759356 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 7 Jul 2017 14:44:32 +0200 Subject: [PATCH] completion/ivy: remove s.el dependency --- modules/completion/ivy/autoload/ivy.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/completion/ivy/autoload/ivy.el b/modules/completion/ivy/autoload/ivy.el index 70bfba4c4..879e41ef8 100644 --- a/modules/completion/ivy/autoload/ivy.el +++ b/modules/completion/ivy/autoload/ivy.el @@ -38,13 +38,13 @@ (defun +ivy--select-buffer-action (buffer) (ivy--switch-buffer-action - (s-chop-suffix + (string-remove-suffix "[+]" (substring buffer 0 (string-match-p (regexp-quote " ") buffer))))) (defun +ivy--select-buffer-other-window-action (buffer) (ivy--switch-buffer-other-window-action - (s-chop-suffix + (string-remove-suffix "[+]" (substring buffer 0 (string-match-p (regexp-quote " ") buffer)))))