aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBardofSprites <[email protected]>2025-12-26 18:31:59 -0500
committerBardofSprites <[email protected]>2025-12-26 18:31:59 -0500
commit9591abf46b65524e41f89d5ff16e81b56d424380 (patch)
tree86e22d206918fb72d34a2a9d0b2a8e026dba8e87
parent4564d19cde7935210db73ebef739a0c4ca11a232 (diff)
header snippet
-rw-r--r--snippets/emacs-lisp-mode/header42
1 files changed, 42 insertions, 0 deletions
diff --git a/snippets/emacs-lisp-mode/header b/snippets/emacs-lisp-mode/header
new file mode 100644
index 0000000..1972862
--- /dev/null
+++ b/snippets/emacs-lisp-mode/header
@@ -0,0 +1,42 @@
+# -*- mode: snippet; -*-
+# contributor: kchenphy <https://www.github.com/kchenphy>
+# name: package header
+# key: header
+# --
+;;; ${1:name}.el --- ${2:summary} -*- lexical-binding: t -*-
+
+;; Author: ${3:`(user-full-name)`}
+;; Maintainer: ${4:`(user-full-name)`}
+;; Version: ${5:version}
+;; Package-Requires: (${6:dependencies})
+;; Homepage: ${7:homepage}
+;; Keywords: ${8:keywords}
+
+${9:
+;; This file is not part of GNU Emacs
+
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <https://www.gnu.org/licenses/>.
+}
+
+;;; Commentary:
+
+;; ${10:commentary}
+
+;;; Code:
+
+${11:(message "Hello World!")}
+
+(provide '$1)
+
+;;; $1.el ends here \ No newline at end of file