Refactor out more s.el dependency
This commit is contained in:
parent
3162c98a11
commit
dc9a7c9780
3 changed files with 5 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue