Function: majutsu-op-revert-execute
majutsu-op-revert-execute is an interactive and natively compiled
function defined in majutsu-op.el.
Signature
(majutsu-op-revert-execute ARGS)
Documentation
Execute jj op revert with transient ARGS.
Key Bindings
This command is not in any keymaps.
Source Code
;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-op.el
(defun majutsu-op-revert-execute (args)
"Execute jj op revert with transient ARGS."
(interactive (list (transient-args 'majutsu-op-revert-transient)))
(pcase-let* ((`(,operation . ,rest) (majutsu-op--extract-target-operation args)))
(unless operation
(user-error "Please select an operation first"))
(majutsu-op--run-confirmed
'op-revert
(format "Revert operation %s? " operation)
(append '("op" "revert") rest (list operation)))))