mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Refactor out more s.el dependency
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user