File: cl-indent.el.html
This package supplies a single entry point, common-lisp-indent-function, which performs indentation in the preferred style for Common Lisp code. It is also a suitable function for indenting Emacs Lisp code.
To enable it:
(setq lisp-indent-function 'common-lisp-indent-function)
Defined variables (13)
lisp-backquote-indentation | Whether or not to indent backquoted lists as code. |
lisp-indent-backquote-substitution-mode | How to indent substitutions in backquotes. |
lisp-indent-defun-method | Defun-like indentation method. |
lisp-indent-lambda-list-keywords-regexp | Regular expression matching lambda-list keywords. |
lisp-indent-maximum-backtracking | Maximum depth to backtrack out from a sublist for structured indentation. |
lisp-lambda-list-keyword-alignment | Whether to vertically align lambda-list keywords together. |
lisp-lambda-list-keyword-parameter-alignment | Whether to vertically align lambda-list keyword parameters together. |
lisp-lambda-list-keyword-parameter-indentation | Indentation of lambda list keyword parameters. |
lisp-loop-forms-indentation | Indentation of forms in extended loop forms. |
lisp-loop-keyword-indentation | Indentation of loop keywords in extended loop forms. |
lisp-simple-loop-indentation | Indentation of forms in simple loop forms. |
lisp-tag-body-indentation | Indentation of non-tagged lines relative to containing list. |
lisp-tag-indentation | Indentation of tags relative to containing list. |
Defined functions (13)
common-lisp-indent-call-method | (FUNCTION METHOD PATH STATE INDENT-POINT SEXP-COLUMN NORMAL-INDENT) |
common-lisp-indent-function | (INDENT-POINT STATE) |
common-lisp-indent-function-1 | (INDENT-POINT STATE) |
common-lisp-loop-part-indentation | (INDENT-POINT STATE) |
lisp-extended-loop-p | (LOOP-START) |
lisp-indent-259 | (METHOD PATH STATE INDENT-POINT SEXP-COLUMN NORMAL-INDENT) |
lisp-indent-defmethod | (PATH STATE INDENT-POINT SEXP-COLUMN NORMAL-INDENT) |
lisp-indent-do | (PATH STATE INDENT-POINT SEXP-COLUMN NORMAL-INDENT) |
lisp-indent-find-method | (SYMBOL &optional NO-COMPAT) |
lisp-indent-function-lambda-hack | (PATH STATE INDENT-POINT SEXP-COLUMN NORMAL-INDENT) |
lisp-indent-lambda-list | (INDENT-POINT SEXP-COLUMN CONTAINING-FORM-START) |
lisp-indent-report-bad-format | (M) |
lisp-indent-tagbody | (PATH STATE INDENT-POINT SEXP-COLUMN NORMAL-INDENT) |