Function: eca-table--make-separator-cell
eca-table--make-separator-cell is a natively compiled function defined
in eca-table.el.
Signature
(eca-table--make-separator-cell WIDTH ALIGNMENT)
Documentation
Build a separator cell of WIDTH dashes with ALIGNMENT markers.
ALIGNMENT is "l", "r", "c", or nil for plain dashes.
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-table.el
(defun eca-table--make-separator-cell (width alignment)
"Build a separator cell of WIDTH dashes with ALIGNMENT markers.
ALIGNMENT is \"l\", \"r\", \"c\", or nil for plain dashes."
(pcase alignment
("c" (concat ":" (make-string (max 1 width) ?-) ":"))
("l" (concat ":" (make-string (max 1 (1+ width)) ?-)))
("r" (concat (make-string (max 1 (1+ width)) ?-) ":"))
(_ (make-string (+ 2 width) ?-))))