Function: majutsu-jj--editor-command-config
majutsu-jj--editor-command-config is a natively compiled function
defined in majutsu-jj.el.
Signature
(majutsu-jj--editor-command-config KEY TARGET &optional EDITOR-COMMAND)
Documentation
Build KEY config command string editing TARGET.
EDITOR-COMMAND defaults to the command parsed from with-editor environment. If TARGET is nil, return config for EDITOR-COMMAND as-is.
Source Code
;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-jj.el
(defun majutsu-jj--editor-command-config (key target &optional editor-command)
"Build KEY config command string editing TARGET.
EDITOR-COMMAND defaults to the command parsed from with-editor environment.
If TARGET is nil, return config for EDITOR-COMMAND as-is."
(let ((command (append (or editor-command (majutsu-jj--editor-command-from-env))
(when target (list target)))))
(majutsu-jj--toml-array-config key command)))