master 0bc48084fb5 4/4: ; Improve doc string of electric-indent internal

Paul Eggert <[email protected]>
Newsgroups gmane.emacs.diffs
Message-ID <[email protected]>
branch: master
commit 0bc48084fb56f8a6ad1869ecbd6d263180d5c8b7
Author: Matthew Batson <[email protected]>
Commit: Paul Eggert <[email protected]>

    ; Improve doc string of electric-indent internal
    
    * lisp/electric.el (electric-indent--activate-indent-actions): Doc
    string fix.
---
 lisp/electric.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/electric.el b/lisp/electric.el
index 1ed93d9f2f9..e2deb7aa63d 100644
--- a/lisp/electric.el
+++ b/lisp/electric.el
@@ -275,7 +275,8 @@ mode set `electric-indent-inhibit', but this can be used as a workaround.")
         (indent-region (point-min) (point-max))))))
 
 (defun electric-indent--activate-indent-actions (enable)
-  "Enable the actions specified in `electric-indent-actions'."
+  "If ENABLE is non-nil, enable the actions in `electric-indent-actions'.
+If ENABLE is nil, disable them."
   (advice-remove 'yank #'electric-indent--yank-advice)
   (remove-hook 'before-save-hook #'electric-indent-save-hook)
   (when enable
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.