Commit 8a51e8e4 authored by Glenn Morris's avatar Glenn Morris

* emacs/indent.texi (Indent Convenience): Mention electric-indent-local-mode.

* lisp/electric.el (electric-indent-mode): Doc fix.

* etc/NEWS: Related markup.
parent 5983b317
2014-03-12 Glenn Morris <rgm@gnu.org>
* indent.texi (Indent Convenience): Mention electric-indent-local-mode.
2014-03-02 Xue Fuqiao <xfq@gnu.org>
* mark.texi (Mark):
......
......@@ -251,4 +251,5 @@ indentation; otherwise, it inserts a tab character.
Electric Indent mode is a global minor mode that automatically
indents the line after every @key{RET} you type. This mode is enabled
by default. To toggle this minor mode, type @kbd{M-x
electric-indent-mode}.
electric-indent-mode}. To toggle the mode in a single buffer,
use @kbd{M-x electric-indent-local-mode}.
......@@ -359,6 +359,7 @@ means to always load the .elc file.
E.g., typing RET reindents the current line and indents the new line.
`C-j' inserts a newline but does not indent.
+++
*** New buffer-local `electric-indent-local-mode'.
+++
......
2014-03-12 Glenn Morris <rgm@gnu.org>
* electric.el (electric-indent-mode): Doc fix.
2014-03-12 Juanma Barranquero <lekktu@gmail.com>
* vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
......
......@@ -294,9 +294,11 @@ With a prefix argument ARG, enable Electric Indent mode if ARG is
positive, and disable it otherwise. If called from Lisp, enable
the mode if ARG is omitted or nil.
This is a global minor mode. When enabled, it reindents whenever
the hook `electric-indent-functions' returns non-nil, or you
insert a character from `electric-indent-chars'."
When enabled, this reindents whenever the hook `electric-indent-functions'
returns non-nil, or if you insert a character from `electric-indent-chars'.
This is a global minor mode. To toggle the mode in a single buffer,
use `electric-indent-local-mode'."
:global t :group 'electricity
:initialize 'custom-initialize-delay
:init-value t
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment