Function: majutsu-jjdescription--bind-repository-root

majutsu-jjdescription--bind-repository-root is a natively compiled function defined in majutsu-jjdescription.el.

Signature

(majutsu-jjdescription--bind-repository-root)

Documentation

Bind this JJ description buffer to its associated repository root.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-jjdescription.el
(defun majutsu-jjdescription--bind-repository-root ()
  "Bind this JJ description buffer to its associated repository root."
  (when-let* ((root (majutsu-jjdescription--repository-root)))
    (setq-local default-directory root)
    (setq-local majutsu--default-directory root)
    (when buffer-file-name
      (majutsu-process-forget-with-editor-file-root buffer-file-name))
    root))