diff options
author | Richard M. Stallman <rms@gnu.org> | 2013-12-21 17:55:59 -0500 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2013-12-21 17:55:59 -0500 |
commit | b51ad4cf0a4ff7d2140197980ef93e098899a906 (patch) | |
tree | 8cb3daf753b6c9f6d190cf85fd494703efe3eff4 /lisp/simple.el | |
parent | dde4de31e00fc389ab64bba312491e31ea2cf305 (diff) | |
download | emacs-b51ad4cf0a4ff7d2140197980ef93e098899a906.tar.gz emacs-b51ad4cf0a4ff7d2140197980ef93e098899a906.tar.bz2 emacs-b51ad4cf0a4ff7d2140197980ef93e098899a906.zip |
Document how to make RET not indent.
* simple.el (newline): Doc fix.
Diffstat (limited to 'lisp/simple.el')
-rw-r--r-- | lisp/simple.el | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index 5101bfb26f8..d6e61fd2095 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -382,10 +382,13 @@ Other major modes are defined by comparison with this one." If option `use-hard-newlines' is non-nil, the newline is marked with the text-property `hard'. With ARG, insert that many newlines. -Call `auto-fill-function' if the current column number is greater + +To turn off indentation by this command, disable Electric Indent mode +\(see \\[electric-indent-mode]). + +Calls `auto-fill-function' if the current column number is greater than the value of `fill-column' and ARG is nil. -A non-nil INTERACTIVE argument means to run the `post-self-insert-hook', -which by default will also indent the line (see `electric-indent-mode')." +A non-nil INTERACTIVE argument means to run the `post-self-insert-hook'." (interactive "*P\np") (barf-if-buffer-read-only) ;; Call self-insert so that auto-fill, abbrev expansion etc. happens. |