Function: majutsu-row-copy-module

majutsu-row-copy-module is an interactive and natively compiled function defined in majutsu-row.el.

Signature

(majutsu-row-copy-module)

Documentation

Copy the rendered structured module at point.

When the region is active, copy it literally using copy-region-as-kill.

Key Bindings

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-row.el
;;;###autoload
(defun majutsu-row-copy-module ()
  "Copy the rendered structured module at point.

When the region is active, copy it literally using `copy-region-as-kill'."
  (interactive)
  (majutsu-row--copy-region-or
   (lambda ()
     (let* ((entry (majutsu-row-current-entry))
            (compiled (majutsu-row-current-compiled))
            (module (majutsu-text-property-near-point
                     'majutsu-row-module))
            (text (majutsu-row--visible-module-text entry compiled module)))
       (unless text
         (user-error "No entry module at point"))
       (majutsu-row-copy-string text)))))