emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/gnu-indent 309d23dd7f 02/17: Autoload commands


From: ELPA Syncer
Subject: [nongnu] elpa/gnu-indent 309d23dd7f 02/17: Autoload commands
Date: Sun, 27 Nov 2022 16:00:24 -0500 (EST)

branch: elpa/gnu-indent
commit 309d23dd7f83a499e588c8a5a2acbc6a62e4e98e
Author: Akib Azmain Turja <akib@disroot.org>
Commit: Akib Azmain Turja <akib@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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]