diff options
author | Ulrich Müller <ulm@gentoo.org> | 2007-10-14 09:41:19 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2007-10-14 09:41:19 +0000 |
commit | e1e8052e04d3deb7f062a4d101bbc57fc629a2a1 (patch) | |
tree | 0c1e66cc8596e36b46102a8820c51fd941fdbe69 /app-emacs/initsplit | |
parent | initial import (diff) | |
download | gentoo-2-e1e8052e04d3deb7f062a4d101bbc57fc629a2a1.tar.gz gentoo-2-e1e8052e04d3deb7f062a4d101bbc57fc629a2a1.tar.bz2 gentoo-2-e1e8052e04d3deb7f062a4d101bbc57fc629a2a1.zip |
Use autoload mechanism. Don't enable initsplit as site default.
(Portage version: 2.1.3.12)
Diffstat (limited to 'app-emacs/initsplit')
-rw-r--r-- | app-emacs/initsplit/ChangeLog | 8 | ||||
-rw-r--r-- | app-emacs/initsplit/files/51initsplit-gentoo.el | 16 | ||||
-rw-r--r-- | app-emacs/initsplit/files/digest-initsplit-1.6-r1 | 3 | ||||
-rw-r--r-- | app-emacs/initsplit/initsplit-1.6-r1.ebuild | 26 |
4 files changed, 52 insertions, 1 deletions
diff --git a/app-emacs/initsplit/ChangeLog b/app-emacs/initsplit/ChangeLog index 2b5db7c8d104..724538c07b8c 100644 --- a/app-emacs/initsplit/ChangeLog +++ b/app-emacs/initsplit/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-emacs/initsplit # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/initsplit/ChangeLog,v 1.6 2007/02/06 13:34:21 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/initsplit/ChangeLog,v 1.7 2007/10/14 09:41:19 ulm Exp $ + +*initsplit-1.6-r1 (14 Oct 2007) + + 14 Oct 2007; Ulrich Mueller <ulm@gentoo.org> +files/51initsplit-gentoo.el, + +initsplit-1.6-r1.ebuild: + Use autoload mechanism. Don't enable initsplit as site default. 06 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog: Regenerate digest in Manifest2 format. diff --git a/app-emacs/initsplit/files/51initsplit-gentoo.el b/app-emacs/initsplit/files/51initsplit-gentoo.el new file mode 100644 index 000000000000..5d60b496458c --- /dev/null +++ b/app-emacs/initsplit/files/51initsplit-gentoo.el @@ -0,0 +1,16 @@ + +;;; initsplit site-lisp configuration + +(add-to-list 'load-path "@SITELISP@") +(autoload 'initsplit-split-user-init-file "initsplit") +(autoload 'initsplit-byte-compile-files "initsplit") + +;; Avoid clobbering the kill ring +;; (see http://www.emacswiki.org/cgi-bin/wiki?InitSplit) + +(defadvice initsplit-split-customizations (around do-the-initsplit act) + "Don't clobber the `kill-ring' when writing customizations." + (let ((orig-kill-ring kill-ring)) + (unwind-protect + ad-do-it + (setq kill-ring orig-kill-ring)))) diff --git a/app-emacs/initsplit/files/digest-initsplit-1.6-r1 b/app-emacs/initsplit/files/digest-initsplit-1.6-r1 new file mode 100644 index 000000000000..b8b643912d17 --- /dev/null +++ b/app-emacs/initsplit/files/digest-initsplit-1.6-r1 @@ -0,0 +1,3 @@ +MD5 a2d2a2600630367c65f8bd69c18fb0c1 initsplit-1.6.tar.gz 2454 +RMD160 5b6d70e0ea5dc8ffdcf719b648e7bdaa89317b57 initsplit-1.6.tar.gz 2454 +SHA256 64612a8bdc43875b2889549e1182cae39041676dac92151f53bca0473cbc4e4c initsplit-1.6.tar.gz 2454 diff --git a/app-emacs/initsplit/initsplit-1.6-r1.ebuild b/app-emacs/initsplit/initsplit-1.6-r1.ebuild new file mode 100644 index 000000000000..e2e3d9d2b3ce --- /dev/null +++ b/app-emacs/initsplit/initsplit-1.6-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/initsplit/initsplit-1.6-r1.ebuild,v 1.1 2007/10/14 09:41:19 ulm Exp $ + +inherit elisp + +DESCRIPTION="Split customizations into different files" +HOMEPAGE="http://www.emacswiki.org/cgi-bin/wiki?InitSplit" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +SITEFILE=51${PN}-gentoo.el + +pkg_postinst() { + elisp-site-regen + elog "Initsplit is no longer enabled as a site default. Add the following" + elog "line to your ~/.emacs file to enable configuration file splitting:" + elog " (add-hook 'write-file-hooks 'initsplit-split-user-init-file t)" + elog "" + elog "If you want configuration files byte-compiled, also add this line:" + elog " (add-hook 'after-save-hook 'initsplit-byte-compile-files t)" +} |