aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris2014-03-11 23:48:20 -0700
committerGlenn Morris2014-03-11 23:48:20 -0700
commit8a51e8e417ea4bb54bca9fa1ad49f3806f642180 (patch)
tree78fed86d314c3eca9f6f76660d422e1881b58273 /lisp
parent5983b317f4cd4853dd22fc97dd91a1999fc20aba (diff)
downloademacs-8a51e8e417ea4bb54bca9fa1ad49f3806f642180.tar.gz
emacs-8a51e8e417ea4bb54bca9fa1ad49f3806f642180.zip
* 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')
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/electric.el8
2 files changed, 9 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6ed8a4b7e25..9d99bdecd38 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12014-03-12 Glenn Morris <rgm@gnu.org>
2
3 * electric.el (electric-indent-mode): Doc fix.
4
12014-03-12 Juanma Barranquero <lekktu@gmail.com> 52014-03-12 Juanma Barranquero <lekktu@gmail.com>
2 6
3 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot) 7 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
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
294positive, and disable it otherwise. If called from Lisp, enable 294positive, and disable it otherwise. If called from Lisp, enable
295the mode if ARG is omitted or nil. 295the mode if ARG is omitted or nil.
296 296
297This is a global minor mode. When enabled, it reindents whenever 297When enabled, this reindents whenever the hook `electric-indent-functions'
298the hook `electric-indent-functions' returns non-nil, or you 298returns non-nil, or if you insert a character from `electric-indent-chars'.
299insert a character from `electric-indent-chars'." 299
300This is a global minor mode. To toggle the mode in a single buffer,
301use `electric-indent-local-mode'."
300 :global t :group 'electricity 302 :global t :group 'electricity
301 :initialize 'custom-initialize-delay 303 :initialize 'custom-initialize-delay
302 :init-value t 304 :init-value t