1
tempel-templates/elisp.eld

69 lines
2.0 KiB
Plaintext

;;; elisp.eld --- Tempel template definitions file -*- lexical-binding: t; -*-
;; Author: Jessie Hildebrandt <jessieh.net>
;; Homepage: https://gitlab.com/jessieh/tempel-templates
;; This file is not part of GNU Emacs.
;;; Commentary:
;; This file provides Tempel template definitions.
;;; License:
;; 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 2, 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; see the file COPYING. If not, write to
;; the Free Software Foundation, Inc., 51 Franklin Street, Fifth
;; Floor, Boston, MA 02110-1301, USA.
;;; Code:
emacs-lisp-mode lisp-data-mode
;; ---------------------------------- ;;
;; Section header
;; ---------------------------------- ;;
(sec
> ";; -------------------------------------------------------------------------- ;;" >
n> ";;" >
n> ";; " (p "Section title") >
n> ";;" >
n> ";; -------------------------------------------------------------------------- ;;" >
n)
;; ---------------------------------- ;;
;; Subsection header
;; ---------------------------------- ;;
(sub
> ";; ---------------------------------- ;;" >
n> ";; " (p "Subsection title") >
n> ";; ---------------------------------- ;;" >
n)
;; ---------------------------------- ;;
;; Autoload flag
;; ---------------------------------- ;;
(autoload
> ";;;###autoload" >)
;; ---------------------------------- ;;
;; File header
;; ---------------------------------- ;;
(file
> ";;; " (file-name-nondirectory (buffer-file-name)) " --- " (p "Description of file") " -*- lexical-binding: t; -*-" >
n)