Variable: lisp-lambda-list-keyword-alignment

lisp-lambda-list-keyword-alignment is a customizable variable defined in cl-indent.el.gz.

Value

nil

Documentation

Whether to vertically align lambda-list keywords together.

If nil (the default), keyworded lambda-list parts are aligned with the initial mandatory arguments, like this:

(defun foo (arg1 arg2 &rest rest
            &key key1 key2)
  #|...|#)

If non-nil, alignment is done with the first keyword
(or falls back to the previous case), as in:

(defun foo (arg1 arg2 &rest rest
                      &key key1 key2)
  #|...|#)

This variable was added, or its default value changed, in Emacs 24.1.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/cl-indent.el.gz
(defcustom lisp-lambda-list-keyword-alignment nil
  "Whether to vertically align lambda-list keywords together.
If nil (the default), keyworded lambda-list parts are aligned
with the initial mandatory arguments, like this:

\(defun foo (arg1 arg2 &rest rest
            &key key1 key2)
  #|...|#)

If non-nil, alignment is done with the first keyword
\(or falls back to the previous case), as in:

\(defun foo (arg1 arg2 &rest rest
                      &key key1 key2)
  #|...|#)"
  :version "24.1"
  :type 'boolean)