branch: elpa/gnu-indent commit 309d23dd7f83a499e588c8a5a2acbc6a62e4e98e Author: Akib Azmain Turja <a...@disroot.org> Commit: Akib Azmain Turja <a...@disroot.org>
Autoload commands --- gnu-indent.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu-indent.el b/gnu-indent.el index 75c5759e57..8236bd9d98 100644 --- a/gnu-indent.el +++ b/gnu-indent.el @@ -59,6 +59,7 @@ valid)) :group 'gnu-indent) +;;;###autoload (defun gnu-indent-region (beg end &optional interactive-p) "Indent current region with GNU Indent. @@ -94,11 +95,13 @@ When called non-interactively, indent text between BEG and END." (delete-file temp-file))) (when interactive-p (message "Indenting...done")))) +;;;###autoload (defun gnu-indent-buffer () "Indent current buffer with GNU Indent." (interactive) (gnu-indent-region (point-min) (point-max))) +;;;###autoload (define-minor-mode gnu-indent-mode "Indent buffer automatically with GNU Indent." nil nil nil