Function: table-justify

table-justify is an autoloaded, interactive and byte-compiled function defined in table.el.gz.

Signature

(table-justify WHAT JUSTIFY)

Documentation

Justify contents of a cell, a row of cells or a column of cells.

WHAT is a symbol cell, row or column. JUSTIFY is a symbol left, center, right, top, middle, bottom or none.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/table.el.gz
;;;###autoload
(defun table-justify (what justify)
  "Justify contents of a cell, a row of cells or a column of cells.
WHAT is a symbol `cell', `row' or `column'.  JUSTIFY is a symbol
`left', `center', `right', `top', `middle', `bottom' or `none'."
  (interactive
   (list (let* ((_ (barf-if-buffer-read-only))
		(completion-ignore-case t)
		(default (car table-target-history)))
	   (intern (downcase (completing-read
			      (format-prompt "Justify what" default)
			      '(("cell") ("row") ("column"))
			      nil t nil 'table-target-history default))))
	 (table--query-justification)))
  (funcall (intern (concat "table-justify-" (symbol-name what))) justify))