Function: majutsu--transient--cancel-selection
majutsu--transient--cancel-selection is a natively compiled function
defined in majutsu-core.el.
Signature
(majutsu--transient--cancel-selection)
Documentation
Cancel the current visual selection/region in current buffer.
Source Code
;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-core.el
(defun majutsu--transient--cancel-selection ()
"Cancel the current visual selection/region in current buffer."
(cond
((and (bound-and-true-p evil-local-mode)
(fboundp 'evil-visual-state-p)
(evil-visual-state-p)
(fboundp 'evil-exit-visual-state))
(evil-exit-visual-state))
(t
(deactivate-mark))))