mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix(treemacs): remove defunct ace-window advice
This advise has been defunct sincef6de662
. Fix #5516 Reff6de662011
This commit is contained in:
@ -26,14 +26,6 @@ This must be set before `treemacs' has loaded.")
|
||||
treemacs-persist-file (concat doom-cache-dir "treemacs-persist")
|
||||
treemacs-last-error-persist-file (concat doom-cache-dir "treemacs-last-error-persist"))
|
||||
:config
|
||||
;; ...but not from treemacs-visit-node-ace-* commands.
|
||||
(defadvice! +treemacs--ace-window-ignore-treemacs-buffer-a (fn &rest args)
|
||||
:around '(treemacs-visit-node-ace
|
||||
treemacs-visit-node-ace-horizontal-split
|
||||
treemacs-visit-node-ace-vertical-split)
|
||||
(let ((aw-ignored-buffers (cons 'treemacs-mode aw-ignored-buffers)))
|
||||
(apply fn args)))
|
||||
|
||||
;; Don't follow the cursor
|
||||
(treemacs-follow-mode -1)
|
||||
|
||||
|
Reference in New Issue
Block a user