summaryrefslogtreecommitdiff
path: root/app-emacs/nxml-docbook5-schemas/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-emacs/nxml-docbook5-schemas/files
reinit the tree, so we can have metadata
Diffstat (limited to 'app-emacs/nxml-docbook5-schemas/files')
-rw-r--r--app-emacs/nxml-docbook5-schemas/files/60nxml-docbook5-schemas-gentoo.el5
-rw-r--r--app-emacs/nxml-docbook5-schemas/files/schemas.xml4
2 files changed, 9 insertions, 0 deletions
diff --git a/app-emacs/nxml-docbook5-schemas/files/60nxml-docbook5-schemas-gentoo.el b/app-emacs/nxml-docbook5-schemas/files/60nxml-docbook5-schemas-gentoo.el
new file mode 100644
index 000000000000..c574746e6576
--- /dev/null
+++ b/app-emacs/nxml-docbook5-schemas/files/60nxml-docbook5-schemas-gentoo.el
@@ -0,0 +1,5 @@
+;; This must be executed after rng-schema-locating-files
+;; is set in rng-loc (which is part of nxml-mode).
+(eval-after-load "rng-loc"
+ '(add-to-list 'rng-schema-locating-files
+ "@SITEETC@/schemas.xml"))
diff --git a/app-emacs/nxml-docbook5-schemas/files/schemas.xml b/app-emacs/nxml-docbook5-schemas/files/schemas.xml
new file mode 100644
index 000000000000..c114447627a9
--- /dev/null
+++ b/app-emacs/nxml-docbook5-schemas/files/schemas.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<locatingRules xmlns="http://thaiopensource.com/ns/locating-rules/1.0">
+ <namespace ns="http://docbook.org/ns/docbook" uri="docbookxi.rnc"/>
+</locatingRules>