summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-02-29 23:58:39 +0000
committerUlrich Müller <ulm@gentoo.org>2008-02-29 23:58:39 +0000
commit6637ad7229714e18354abe3820f01a32ab3802a6 (patch)
treef20f0e3ab97aa8d59fe5079fe7eb43885637e429 /app-emacs/nxml-gentoo-schemas
parentAdd support for setting process niceness in conf.d file. Suggestion by Jens W... (diff)
downloadgentoo-2-6637ad7229714e18354abe3820f01a32ab3802a6.tar.gz
gentoo-2-6637ad7229714e18354abe3820f01a32ab3802a6.tar.bz2
gentoo-2-6637ad7229714e18354abe3820f01a32ab3802a6.zip
Add "eval-after-load" in site-init file.
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-emacs/nxml-gentoo-schemas')
-rw-r--r--app-emacs/nxml-gentoo-schemas/ChangeLog7
-rw-r--r--app-emacs/nxml-gentoo-schemas/files/60nxml-gentoo-schemas-gentoo.el6
2 files changed, 10 insertions, 3 deletions
diff --git a/app-emacs/nxml-gentoo-schemas/ChangeLog b/app-emacs/nxml-gentoo-schemas/ChangeLog
index 09ed2854d3a6..8808944c3096 100644
--- a/app-emacs/nxml-gentoo-schemas/ChangeLog
+++ b/app-emacs/nxml-gentoo-schemas/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-emacs/nxml-gentoo-schemas
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-gentoo-schemas/ChangeLog,v 1.10 2008/02/18 00:45:23 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/nxml-gentoo-schemas/ChangeLog,v 1.11 2008/02/29 23:58:38 ulm Exp $
+
+ 29 Feb 2008; Ulrich Mueller <ulm@gentoo.org>
+ files/60nxml-gentoo-schemas-gentoo.el:
+ Add "eval-after-load" in site-init file, so that it works with builtin
+ nxml-mode in Emacs 23, too.
18 Feb 2008; Diego Pettenò <flameeyes@gentoo.org>
nxml-gentoo-schemas-20080204.ebuild:
diff --git a/app-emacs/nxml-gentoo-schemas/files/60nxml-gentoo-schemas-gentoo.el b/app-emacs/nxml-gentoo-schemas/files/60nxml-gentoo-schemas-gentoo.el
index 4b6816257799..50b95fe2e43c 100644
--- a/app-emacs/nxml-gentoo-schemas/files/60nxml-gentoo-schemas-gentoo.el
+++ b/app-emacs/nxml-gentoo-schemas/files/60nxml-gentoo-schemas-gentoo.el
@@ -3,5 +3,7 @@
;; This must come after the nxml-mode site initialisation,
;; because rng-schema-locating-files-default is set there.
-(add-to-list 'rng-schema-locating-files-default
- "@SITEETC@/schemas.xml")
+;; "eval-after-load" so that it works with builtin nxml-mode in Emacs 23.
+(eval-after-load "rng-loc"
+ '(add-to-list 'rng-schema-locating-files-default
+ "@SITEETC@/schemas.xml"))