summaryrefslogtreecommitdiff
path: root/resources/snippets/emacs-lisp-mode/defun
blob: e67e48304a56c3cbdd8b0bbe661103f2d65c3259 (plain)
1
2
3
4
5
6
7
8
9
# -*- mode: snippet -*-
# name: defun
# key: def
# --
(defun ${1:function-name} (${2:arguments})
  "${3:Docstring: Indicate in imperitave voice what the function does.
Second and subsequent lines must have nil indentation to preserve
formatting in }"
  $0)
Copyright 2019--2024 Marius PETER