Function: majutsu-op--extract-target-operation
majutsu-op--extract-target-operation is a natively compiled function
defined in majutsu-op.el.
Signature
(majutsu-op--extract-target-operation ARGS)
Documentation
Return (OPERATION . ARGS) after stripping pseudo --operation= from ARGS.
Source Code
;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-op.el
;;; op restore/revert
(defun majutsu-op--extract-target-operation (args)
"Return (OPERATION . ARGS) after stripping pseudo --operation= from ARGS."
(let (operation rest)
(dolist (arg args)
(if (string-prefix-p "--operation=" arg)
(setq operation (substring arg (length "--operation=")))
(push arg rest)))
(cons operation (nreverse rest))))