branch: externals/auto-header
commit 44151ef2ce8f1c36b184b4ee74d1770632b1c956
Author: Philip Kaludercic <[email protected]>
Commit: Philip Kaludercic <[email protected]>

    Add autoload cookies where useful
---
 auto-header.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/auto-header.el b/auto-header.el
index c716cac534..d78cf525a8 100644
--- a/auto-header.el
+++ b/auto-header.el
@@ -3,7 +3,7 @@
 ;; Copyright (C) 2022  Philip Kaludercic
 
 ;; Author: Philip Kaludercic <[email protected]>
-;; Version: $Id: auto-header.el,v 1.2 2022/04/20 17:18:40 oj14ozun Exp 
oj14ozun $
+;; Version: $Id: auto-header.el,v 1.3 2022/04/20 17:20:15 oj14ozun Exp 
oj14ozun $
 ;; Package-Version: 1.0
 ;; Keywords: c
 
@@ -98,6 +98,7 @@
        (delete-blank-lines))
       (newline))))
 
+;;;###autoload
 (defun auto-header-at-point (name)
   "Insert headers for NAME.
 When called interactively, use the symbol at or before point as
@@ -124,6 +125,7 @@ NAME."
     "_Imaginary" "_Noreturn" "_Static_assert" "_Thread_local")
   "List of keywords to not treat as functions.")
 
+;;;###autoload
 (defun auto-header-buffer ()
   "Insert the headers for all functions."
   (interactive)
@@ -143,6 +145,7 @@ NAME."
        (mapcan #'auto-header-find-headers
               headers)))))
 
+;;;###autoload
 (define-minor-mode auto-header-mode
   "Run `auto-header-buffer' before saving."
   :lighter " AH"

Reply via email to