[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master a4c922d 1/2: Clarify indent-line-function doc string
From: |
Lars Ingebrigtsen |
Subject: |
master a4c922d 1/2: Clarify indent-line-function doc string |
Date: |
Sun, 30 May 2021 00:25:55 -0400 (EDT) |
branch: master
commit a4c922d84f3fb92cbccc37f69370b016250a88cd
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Clarify indent-line-function doc string
* lisp/indent.el (indent-line-function): Clarify by avoiding
specifics (bug#20846).
---
lisp/indent.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/indent.el b/lisp/indent.el
index 285b8e2..a33d962 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.")