completion/ivy: remove s.el dependency
This commit is contained in:
parent
dd5d530f61
commit
0f76a2bc3d
1 changed files with 2 additions and 2 deletions
|
@ -38,13 +38,13 @@
|
||||||
|
|
||||||
(defun +ivy--select-buffer-action (buffer)
|
(defun +ivy--select-buffer-action (buffer)
|
||||||
(ivy--switch-buffer-action
|
(ivy--switch-buffer-action
|
||||||
(s-chop-suffix
|
(string-remove-suffix
|
||||||
"[+]"
|
"[+]"
|
||||||
(substring buffer 0 (string-match-p (regexp-quote " ") buffer)))))
|
(substring buffer 0 (string-match-p (regexp-quote " ") buffer)))))
|
||||||
|
|
||||||
(defun +ivy--select-buffer-other-window-action (buffer)
|
(defun +ivy--select-buffer-other-window-action (buffer)
|
||||||
(ivy--switch-buffer-other-window-action
|
(ivy--switch-buffer-other-window-action
|
||||||
(s-chop-suffix
|
(string-remove-suffix
|
||||||
"[+]"
|
"[+]"
|
||||||
(substring buffer 0 (string-match-p (regexp-quote " ") buffer)))))
|
(substring buffer 0 (string-match-p (regexp-quote " ") buffer)))))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue