Function: set-justification-center

set-justification-center is an interactive and byte-compiled function defined in fill.el.gz.

Signature

(set-justification-center B E)

Documentation

Make paragraphs in the region centered.

If the mark is not active, this applies to the current paragraph.

View in manual

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/fill.el.gz
(defun set-justification-center (b e)
  "Make paragraphs in the region centered.
If the mark is not active, this applies to the current paragraph."
  (interactive (list (if mark-active (region-beginning) (point))
		     (if mark-active (region-end) (point))))
  (set-justification b e 'center t))