File: appdata-rng-init.el.in

package info (click to toggle)
appdata-tools 0.1.7-3
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,860 kB
  • ctags: 332
  • sloc: sh: 11,438; ansic: 1,907; makefile: 172; xml: 165
file content (9 lines) | stat: -rw-r--r-- 422 bytes parent folder | download
1
2
3
4
5
6
7
8
9
;; Tell nxml-mode where to find the AppData schema.

(eval-after-load "rng-loc"
  '(progn
     (when (equal rng-schema-locating-files rng-schema-locating-files-default)
       (add-to-list 'rng-schema-locating-files
                    "@datadir@/appdata/schema/schema-locating-rules.xml" t))
     (add-to-list 'rng-schema-locating-files-default
                  "@datadir@/appdata/schema/schema-locating-rules.xml" t)))