Skip to content

Commit

Permalink
add header template
Browse files Browse the repository at this point in the history
  • Loading branch information
alexforsale committed Aug 11, 2024
1 parent c783e02 commit bd5d7a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/emacs-lisp.eld
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,6 @@ emacs-lisp-mode
"(advice-add #'" (p "fun") " " (p ":around") " #'" (s name) ")")
(prvide "(provide '" (file-name-base (or (buffer-file-name) (buffer-name))) ")" n
";;; " (file-name-nondirectory (or (buffer-file-name) (buffer-name))) " ends here" n)
(log "(message \"LOG %s " (s sexp) ": %S"
"\" (format-time-string \"%X\") " sexp ")")
(header ";;; "(file-name-base (or (buffer-file-name) (buffer-name))) " --- " (p "Summary") " -*- lexical-binding: t -*-" n ";;; Commentary:" n ";;; Code:" n)

0 comments on commit bd5d7a9

Please sign in to comment.