Skip to content

Commit

Permalink
[Compatibility] Remove disabling of evil-escape.
Browse files Browse the repository at this point in the history
evil-escape now supports treemacs so it doesn't need to be turned off anymore.
  • Loading branch information
Alexander-Miller committed Nov 22, 2023
1 parent 2f77c98 commit fb8980c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/elisp/treemacs-compatibility.el
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,6 @@ width of the new window when the treemacs window is visible."
(org-link-set-parameters "treemacs" :store #'treemacs-store-org-link)
(add-hook 'org-store-link-functions #'treemacs-store-org-link))))

(with-eval-after-load 'evil-escape
;; Disable old versions of evil-escape but keep newer versions active
(when (and (boundp 'evil-escape-excluded-major-modes) (not (boundp 'evil-escape-version)))
(add-to-list 'evil-escape-excluded-major-modes 'treemacs-mode)))

(when (fboundp 'context-menu-mode)
(defun treemacs--disable-context-menu-mode ()
(treemacs-run-in-all-derived-buffers
Expand Down

0 comments on commit fb8980c

Please sign in to comment.