diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-emacs/template/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-emacs/template/files')
-rw-r--r-- | app-emacs/template/files/50template-gentoo.el | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app-emacs/template/files/50template-gentoo.el b/app-emacs/template/files/50template-gentoo.el new file mode 100644 index 000000000000..3da76196f42e --- /dev/null +++ b/app-emacs/template/files/50template-gentoo.el @@ -0,0 +1,20 @@ +(add-to-list 'load-path "@SITELISP@") +(autoload 'template-single-comment "template" + "Decorate the comment in the current line with dashes and alike." t) +(autoload 'template-block-comment "template" + "Decorate the current block of comment-only lines with dashes and alike." t) +(autoload 'template-update-header "template" + "Replace old file name in header with current file name." t) +(autoload 'template-expand-template "template" + "Expand template file TEMPLATE and insert result in current buffer." t) +(autoload 'template-new-file "template" + "Open a new file FILE by using a TEMPLATE." t) +(autoload 'template-initialize "template" + "Initialized package template. See variable `template-initialize'." t) + +(setq template-default-directories + (list (if (and (not (file-directory-p "~/.templates/")) + (file-directory-p "~/lib/templates")) + (expand-file-name "~/lib/templates/") + (expand-file-name "~/.templates/")) + "@SITEETC@/templates")) |