Function: majutsu-blob-edit--restore-cursor-state

majutsu-blob-edit--restore-cursor-state is a natively compiled function defined in majutsu-file.el.

Signature

(majutsu-blob-edit--restore-cursor-state)

Documentation

Restore cursor state after leaving editable blob mode.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-file.el
(defun majutsu-blob-edit--restore-cursor-state ()
  "Restore cursor state after leaving editable blob mode."
  (setq-local cursor-type majutsu-blob-edit--saved-cursor-type)
  (when (and majutsu-blob-edit--saved-evil-normal-state-cursor-valid
             (boundp 'evil-normal-state-cursor))
    (setq-local evil-normal-state-cursor majutsu-blob-edit--saved-evil-normal-state-cursor)
    (setq-local majutsu-blob-edit--saved-evil-normal-state-cursor-valid nil)))