Function: majutsu-op-log

majutsu-op-log is an interactive and natively compiled function defined in majutsu-op.el.

Signature

(majutsu-op-log &optional ARGS)

Documentation

Open the Majutsu operation log with 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
;;;###autoload
(defun majutsu-op-log (&optional args)
  "Open the Majutsu operation log with ARGS."
  (interactive (list (or (majutsu-op-log-arguments)
                         (get 'majutsu-op-log-mode
                              'majutsu-op-log-default-arguments))))
  (let* ((args (majutsu-op-log--validate-args
                (or args (get 'majutsu-op-log-mode
                              'majutsu-op-log-default-arguments))))
         (root (majutsu--toplevel-safe))
         (repo (file-name-nondirectory (directory-file-name root))))
    (majutsu-setup-buffer #'majutsu-op-log-mode nil
      :buffer (format "*majutsu-op: %s*" repo)
      :directory root
      (majutsu-op-log--args args))))