From: Eli Zaretskii Date: Sun, 30 May 2021 04:11:02 +0000 (+0200) Subject: Clarify indent-line-function doc string X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~18^2~2521 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a4c922d84f3fb92cbccc37f69370b016250a88cd;p=emacs.git Clarify indent-line-function doc string * lisp/indent.el (indent-line-function): Clarify by avoiding specifics (bug#20846). --- diff --git a/lisp/indent.el b/lisp/indent.el index 285b8e2038f..a33d9620098 100644 --- a/lisp/indent.el +++ b/lisp/indent.el @@ -39,8 +39,8 @@ (defvar indent-line-function 'indent-relative "Function to indent the current line. This function will be called with no arguments. -If it is called somewhere where auto-indentation cannot be done -\(e.g. inside a string), the function should simply return `noindent'. +If it is called somewhere where it cannot auto-indent, the function +should return `noindent' to signal that it didn't. Setting this function is all you need to make TAB indent appropriately. Don't rebind TAB unless you really need to.")