From 5a9eb5a4e0dbd89fa4e458ea4e858a8f4747b2fb Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Fri, 19 Dec 2008 09:51:40 +0000 Subject: Add postinst message about non-interactive usage, bug 73192. (Portage version: 2.2_rc17/cvs/Linux 2.6.27-gentoo-r4 i686) --- app-emacs/color-theme/ChangeLog | 7 +++++-- app-emacs/color-theme/color-theme-6.6.0.ebuild | 12 ++++++++++-- 2 files changed, 15 insertions(+), 4 deletions(-) (limited to 'app-emacs/color-theme') diff --git a/app-emacs/color-theme/ChangeLog b/app-emacs/color-theme/ChangeLog index 08af8b3f9a82..76682da35291 100644 --- a/app-emacs/color-theme/ChangeLog +++ b/app-emacs/color-theme/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-emacs/color-theme -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/color-theme/ChangeLog,v 1.33 2007/09/08 11:32:13 ulm Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/color-theme/ChangeLog,v 1.34 2008/12/19 09:51:40 ulm Exp $ + + 19 Dec 2008; Ulrich Mueller color-theme-6.6.0.ebuild: + Add postinst message about non-interactive usage, bug 73192. 08 Sep 2007; Ulrich Mueller -files/50color-theme-gentoo.el, -files/6.5.5-easy-menu-gentoo.patch, diff --git a/app-emacs/color-theme/color-theme-6.6.0.ebuild b/app-emacs/color-theme/color-theme-6.6.0.ebuild index 05c25898bdfc..7d9240f51a31 100644 --- a/app-emacs/color-theme/color-theme-6.6.0.ebuild +++ b/app-emacs/color-theme/color-theme-6.6.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/color-theme/color-theme-6.6.0.ebuild,v 1.9 2007/09/08 10:18:50 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/color-theme/color-theme-6.6.0.ebuild,v 1.10 2008/12/19 09:51:40 ulm Exp $ inherit elisp @@ -25,3 +25,11 @@ src_install() { insinto /usr/share/emacs/site-lisp/color-theme/themes doins themes/* } + +pkg_postinst() { + elisp-site-regen + elog "To use color-theme non-interactively, initialise it in your ~/.emacs" + elog "as in the following example (which is for the \"Blue Sea\" theme):" + elog " (color-theme-initialize)" + elog " (color-theme-blue-sea)" +} -- cgit v1.2.3-65-gdbad