Function: majutsu-transient-save-repository-value

majutsu-transient-save-repository-value is a natively compiled function defined in majutsu-core.el.

Signature

(majutsu-transient-save-repository-value NAMESPACE MODE VALUE)

Documentation

Persist VALUE as NAMESPACE/MODE's repository-local transient default.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-core.el
(defun majutsu-transient-save-repository-value (namespace mode value)
  "Persist VALUE as NAMESPACE/MODE's repository-local transient default."
  (let* ((config-id (or (majutsu-repository-config-id t)
                        (user-error "No jj repository config id available")))
         (key (majutsu-transient-repository-default-key namespace mode config-id)))
    (majutsu-transient-put-repository-current-value namespace mode value config-id)
    (setf (alist-get key transient-values) value)
    (transient-save-values)))