Make defcustom template definition multiline

This commit is contained in:
contrapunctus 2022-02-24 21:27:19 +05:30
parent 8552780d80
commit 49acc72827
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,9 @@
;;; -*- mode: emacs-lisp; -*-
emacs-lisp-mode
(dc "(defcustom " p "\n \"" p "\"" n> ":type '" p ")")
(dc "(defcustom " (s "symbol") " " (s "standard")
n> "\"" (s "docstring") "\""
n> ":type '" (s "type") ")")
(dg "(defgroup " p " nil\n \"" p "\"" n> ":group '" p n> ":prefix \"" p "-\")")
(cdg "(cl-defgeneric " p " (" ")" n> ")")
(cdm "(cl-defmethod " p " (" ")" n> ")")