Function: majutsu-row--suffix-lines-from-region

majutsu-row--suffix-lines-from-region is a natively compiled function defined in majutsu-row.el.

Signature

(majutsu-row--suffix-lines-from-region BEG END)

Documentation

Return suffix lines represented by raw text from BEG to END.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-row.el
(defun majutsu-row--suffix-lines-from-region (beg end)
  "Return suffix lines represented by raw text from BEG to END."
  (when (< beg end)
    (let ((text (buffer-substring beg end)))
      (when (string-match-p "\n" text)
        (when (string-prefix-p "\n" text)
          (setq text (substring text 1)))
        (when (string-suffix-p "\n" text)
          (setq text (substring text 0 -1)))
        (unless (string-empty-p text)
          (majutsu-row-split-by-separator text "\n"))))))