diff options
author | Bastien <bzg@gnu.org> | 2021-05-03 08:56:47 +0200 |
---|---|---|
committer | Bastien <bzg@gnu.org> | 2021-05-03 08:56:47 +0200 |
commit | e7fc34ecf475e6043d89a6edfac9c4ca05552cd8 (patch) | |
tree | 1c1a51c472167b5a488dfda384799685fccd6fb1 | |
parent | c3917c3a0b8f33256ef038c3c64a93f259108722 (diff) | |
download | org-mode-e7fc34ecf475e6043d89a6edfac9c4ca05552cd8.tar.gz |
lisp/org.el: Update docstring of `org-return-and-maybe-indent'
* lisp/org.el (org-return-and-maybe-indent): Update docstring to
reflect the current behavior.
-rw-r--r-- | lisp/org.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/org.el b/lisp/org.el index bd0c3ce..4547056 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -17871,12 +17871,13 @@ object (e.g., within a comment). In these case, you need to use (org--newline indent arg interactive)))))) (defun org-return-and-maybe-indent () - "Goto next table row, or insert a newline. + "Goto next table row, or insert a newline, maybe indented. Call `org-table-next-row' or `org-return', depending on context. See the individual commands for more information. -When inserting a newline, indent the new line if -`electric-indent-mode' is disabled." +When inserting a newline, if `org-adapt-indentation' is `t': +indent the line if `electric-indent-mode' is disabled, don't +indent it if it is enabled." (interactive) (org-return (not electric-indent-mode))) |