mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 07:46:51 -04: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
|
|
@ -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