mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 04:21:24 +00:00
; Improve doc string of electric-indent internal
* lisp/electric.el (electric-indent--activate-indent-actions): Doc string fix.
This commit is contained in:
parent
fa41113380
commit
0bc48084fb
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue