Emacs: Add template for metadata.xml.
This commit is contained in:
parent
fb15524b93
commit
e155efa891
12
auto-insert/metadata.xml
Normal file
12
auto-insert/metadata.xml
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>gentoo@tastytea.de</email>
|
||||
<name>${1:$$(yas-choose-value '("Ronny (tastytea) Gutbrod" "tastytea"))}</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<doc>$2</doc>
|
||||
<bugs-to>$3</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
|
@ -1,6 +1,6 @@
|
|||
;;; common.el --- Common settings for text files. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2020-12-06T12:10:55+0100>
|
||||
;; Time-stamp: <2020-12-07T16:03:09+0100>
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
|
@ -209,7 +209,10 @@
|
|||
["manpage.adoc" my/autoinsert-yas-expand]))
|
||||
(add-to-list
|
||||
'auto-insert-alist '(("\\.user.js$" . "Userscript") .
|
||||
["user.js" my/autoinsert-yas-expand])))
|
||||
["user.js" my/autoinsert-yas-expand]))
|
||||
(add-to-list
|
||||
'auto-insert-alist '(("metadata\\.xml$" . "Gentoo pkg metadata") .
|
||||
["metadata.xml" my/autoinsert-yas-expand])))
|
||||
:hook (find-file . auto-insert))
|
||||
|
||||
;; Better search.
|
||||
|
|
Loading…
Reference in New Issue
Block a user