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

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

* etc/NEWS: Related markup.
This commit is contained in:
Glenn Morris 2014-03-11 23:48:20 -07:00
parent 5983b317f4
commit 8a51e8e417
5 changed files with 16 additions and 4 deletions

View file

@ -1,3 +1,7 @@
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):

View file

@ -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}.

View file

@ -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'.
+++

View file

@ -1,3 +1,7 @@
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)

View file

@ -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