completion/ivy: remove s.el dependency

This commit is contained in:
Henrik Lissner 2017-07-07 14:44:32 +02:00
parent dd5d530f61
commit 0f76a2bc3d
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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)))))