~pkal/auto-header

a77ba1fed731bc550d7a4ecdc6ad4fb58abb01fb — Philip Kaludercic 2 years ago 5195004
Readd auto-header-insert
1 files changed, 6 insertions(+), 1 deletions(-)

M auto-header.el
M auto-header.el => auto-header.el +6 -1
@@ 3,7 3,7 @@
;; Copyright (C) 2022  Philip Kaludercic

;; Author: Philip Kaludercic <philip.kaludercic@fau.de>
;; Version: $Id: auto-header.el,v 1.11 2022/05/16 08:32:02 oj14ozun Exp $
;; Version: $Id: auto-header.el,v 1.15 2022/06/13 18:34:32 oj14ozun Exp oj14ozun $
;; URL: https://wwwcip.cs.fau.de/~oj14ozun/src+etc/auto-header.el
;; Package-Version: 1
;; Keywords: c


@@ 104,6 104,11 @@
	  (newline))
	(delete-blank-lines)))))

(defun auto-header-insert (header)
  "Add HEADER to the top of the file."
  (interactive "MAdd header: ")
  (auto-header--insert-headers (list header)))

;;;###autoload
(defun auto-header-at-point (name)
  "Insert headers for NAME.