Function: majutsu-row-concat-heading-parts
majutsu-row-concat-heading-parts is a natively compiled function
defined in majutsu-row.el.
Signature
(majutsu-row-concat-heading-parts PARTS)
Documentation
Concatenate heading PARTS without spaces after newlines.
Source Code
;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-row.el
(defun majutsu-row-concat-heading-parts (parts)
"Concatenate heading PARTS without spaces after newlines."
(let ((out ""))
(dolist (part parts out)
(unless (string-empty-p part)
(let ((need-space
(and (> (length out) 0)
(not (eq (aref out (1- (length out))) ?\n))
(not (eq (aref part 0) ?\n)))))
(setq out (concat out (if need-space " " "") part)))))))