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

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

[elpa] externals/auto-header 44151ef2ce 04/26: Add autoload cookies wher


From: ELPA Syncer
Subject: [elpa] externals/auto-header 44151ef2ce 04/26: Add autoload cookies where useful
Date: Sun, 26 Mar 2023 07:57:34 -0400 (EDT)

branch: externals/auto-header
commit 44151ef2ce8f1c36b184b4ee74d1770632b1c956
Author: Philip Kaludercic <philip.kaludercic@fau.de>
Commit: Philip Kaludercic <philip.kaludercic@fau.de>

    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 <philip.kaludercic@fau.de>
-;; 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

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