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

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

Signature

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

Documentation

Save current cursor state before entering editable blob mode.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-file.el
(defun majutsu-blob-edit--save-cursor-state ()
  "Save current cursor state before entering editable blob mode."
  (setq-local majutsu-blob-edit--saved-cursor-type cursor-type)
  (if (and (bound-and-true-p evil-local-mode)
           (boundp 'evil-normal-state-cursor))
      (progn
        (setq-local majutsu-blob-edit--saved-evil-normal-state-cursor evil-normal-state-cursor)
        (setq-local majutsu-blob-edit--saved-evil-normal-state-cursor-valid t))
    (setq-local majutsu-blob-edit--saved-evil-normal-state-cursor-valid nil)))