home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit b6bd614c5f3732eb498bf2cbb83b8123d1f652a7
parent 4c20d9c0d0793d659d15e944f4fed6d6ff65448d
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Tue, 12 Dec 2023 15:46:35 +0100

tools/emacs: add a package templates (elisp)

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtools/emacs/templates | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/tools/emacs/templates b/tools/emacs/templates @@ -51,6 +51,15 @@ emacs-lisp-mode (provide "(provide '" (file-name-base (or (buffer-file-name) (buffer-name))) ")" n ";;; " (file-name-nondirectory (or (buffer-file-name) (buffer-name))) " ends here" n) +(package ";;; " (file-name-base (or (buffer-file-name) (buffer-name))) " --- " p " -*- lexical-binding: t -*-" + n n + ";; Copyright (C) " (format-time-string "%Y") " Vincent Demeester" n + ";; Author: Vincent Demeester <vincent@sbr.pm>" n n + ";; This file is NOT part of GNU Emacs." n + ";;; Commentary:" n p n + ";;; Code:" n p n + "(provide '" (file-name-base (or (buffer-file-name) (buffer-name))) ")" n + ";;; " (file-name-nondirectory (or (buffer-file-name) (buffer-name))) " ends here" n) eshell-mode