completion/ivy: fix cyclical-load errors when compiling
This commit is contained in:
parent
b8a969361d
commit
73333784f8
2 changed files with 12 additions and 14 deletions
|
@ -93,17 +93,5 @@ Allows a perspective-specific buffer list via `+workspaces-buffer-list'."
|
|||
(persp-add-buffer buffer (get-current-persp) nil)
|
||||
(force-mode-line-update t)))
|
||||
(advice-add #'switch-to-buffer :after #'+workspaces*auto-add-buffer)
|
||||
(advice-add #'display-buffer :after #'+workspaces*auto-add-buffer)
|
||||
|
||||
;;
|
||||
(after! ivy
|
||||
(nconc ivy-sort-functions-alist
|
||||
'((persp-kill-buffer . nil)
|
||||
(persp-remove-buffer . nil)
|
||||
(persp-add-buffer . nil)
|
||||
(persp-switch . nil)
|
||||
(persp-window-switch . nil)
|
||||
(persp-frame-switch . nil)
|
||||
(+workspace/switch-to . nil)
|
||||
(+workspace/delete . nil)))))
|
||||
(advice-add #'display-buffer :after #'+workspaces*auto-add-buffer))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue