Variable: clojure-align-forms-automatically

clojure-align-forms-automatically is a customizable variable defined in clojure-mode.el.

Value

nil

Documentation

If non-nil, vertically align some forms automatically.

Automatically means it is done as part of indenting code. This applies to binding forms (clojure-align-binding-forms), to cond forms (clojure-align-cond-forms) and to map literals. For instance, selecting a map a hitting TAB (indent-for-tab-command) will align the values like this:
    {:some-key 10
     :key2 20}

This variable was added, or its default value changed, in clojure-mode version 5.1.

Source Code

;; Defined in ~/.emacs.d/elpa/clojure-mode-20260325.811/clojure-mode.el
;;; Vertical alignment
(defcustom clojure-align-forms-automatically nil
  "If non-nil, vertically align some forms automatically.
Automatically means it is done as part of indenting code.  This
applies to binding forms (`clojure-align-binding-forms'), to cond
forms (`clojure-align-cond-forms') and to map literals.  For
instance, selecting a map a hitting \\<clojure-mode-map>`\\[indent-for-tab-command]'
will align the values like this:
    {:some-key 10
     :key2     20}"
  :package-version '(clojure-mode . "5.1")
  :safe #'booleanp
  :type 'boolean)