Variable: lisp-indent-local-overrides

lisp-indent-local-overrides is a buffer-local variable defined in lisp-mode.el.gz.

Documentation

An alist of file-local or directory-local indent specifications.

Each key is a symbol and each value is an indent specification, which overrides the value of the symbol's lisp-indent-function(var)/lisp-indent-function(fun) property in the current buffer. The value can take the same forms as the value of the property, see Info node (elisp) Indenting Macros for details.

This variable is used by the functions lisp-indent-function(var)/lisp-indent-function(fun) and common-lisp-indent-function. In case of the latter, the symbol properties common-lisp-indent-function-for-elisp and common-lisp-indent-function take precedence not only over the lisp-indent-function(var)/lisp-indent-function(fun) property but also over this variable.

View in manual

Probably introduced at or before Emacs version 31.1.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/lisp-mode.el.gz
(defvar-local lisp-indent-local-overrides nil
  "An alist of file-local or directory-local indent specifications.

Each key is a symbol and each value is an indent specification, which
overrides the value of the symbol's `lisp-indent-function' property in
the current buffer.  The value can take the same forms as the value of
the property, see Info node `(elisp) Indenting Macros' for details.

This variable is used by the functions `lisp-indent-function'
and `common-lisp-indent-function'.  In case of the latter, the
symbol properties `common-lisp-indent-function-for-elisp' and
`common-lisp-indent-function' take precedence not only over the
`lisp-indent-function' property but also over this variable.")