diff options
author | Glenn Morris <rgm@gnu.org> | 2014-03-11 23:48:20 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2014-03-11 23:48:20 -0700 |
commit | 8a51e8e417ea4bb54bca9fa1ad49f3806f642180 (patch) | |
tree | 78fed86d314c3eca9f6f76660d422e1881b58273 /lisp/electric.el | |
parent | 5983b317f4cd4853dd22fc97dd91a1999fc20aba (diff) | |
download | emacs-8a51e8e417ea4bb54bca9fa1ad49f3806f642180.tar.gz |
* emacs/indent.texi (Indent Convenience): Mention electric-indent-local-mode.
* lisp/electric.el (electric-indent-mode): Doc fix.
* etc/NEWS: Related markup.
Diffstat (limited to 'lisp/electric.el')
-rw-r--r-- | lisp/electric.el | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/electric.el b/lisp/electric.el index 3e19d9b23b1..7debe0b7f98 100644 --- a/lisp/electric.el +++ b/lisp/electric.el @@ -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 |