Skip to content

Commit

Permalink
remove remaining reference to evil-symex-state
Browse files Browse the repository at this point in the history
This is now moved into Rigpa, so it doesn't make sense to check it
within symex. We can also now just rely on the Lithium mode
`symex-editing-mode` (which is just an ordinary Emacs minor mode) to
check whether symex mode is active.
  • Loading branch information
countvajhula committed Feb 18, 2025
1 parent 9e9428f commit c381731
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions symex-misc.el
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,7 @@ measure them anywhere, we do this traversal in O(n)."

(defun symex-select-nearest-advice (&rest _)
"Advice to select the nearest symex."
(when (and (fboundp 'evil-symex-state-p)
(evil-symex-state-p))
(when symex-editing-mode
(symex-user-select-nearest)))

(defun symex--selection-side-effects ()
Expand Down

0 comments on commit c381731

Please sign in to comment.