Refactor out more s.el dependency

This commit is contained in:
Henrik Lissner 2017-04-17 02:30:54 -04:00
parent 3162c98a11
commit dc9a7c9780
3 changed files with 5 additions and 5 deletions

View file

@ -38,13 +38,13 @@
(ivy--switch-buffer-action
(s-chop-suffix
"[+]"
(substring buffer 0 (s-index-of " " buffer)))))
(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
"[+]"
(substring buffer 0 (s-index-of " " buffer)))))
(substring buffer 0 (string-match-p (regexp-quote " ") buffer)))))
;;;###autoload
(defun +ivy/switch-workspace-buffer (&optional other-window-p)