summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2003-10-02 20:26:18 +0000
committerMamoru Komachi <usata@gentoo.org>2003-10-02 20:26:18 +0000
commit71e0a024b7c465177703b956176c3f2f9a537ae4 (patch)
treef978b741cde9df734150fe11df0e0f911ef89261 /app-emacs
parentManifest update (diff)
downloadgentoo-2-71e0a024b7c465177703b956176c3f2f9a537ae4.tar.gz
gentoo-2-71e0a024b7c465177703b956176c3f2f9a537ae4.tar.bz2
gentoo-2-71e0a024b7c465177703b956176c3f2f9a537ae4.zip
Changed jde to autoload (It'll reduce startup time)
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/jde/ChangeLog6
-rw-r--r--app-emacs/jde/Manifest5
-rw-r--r--app-emacs/jde/files/70jde-gentoo.el4
-rw-r--r--app-emacs/jde/metadata.xml6
4 files changed, 16 insertions, 5 deletions
diff --git a/app-emacs/jde/ChangeLog b/app-emacs/jde/ChangeLog
index 13adf4bda72f..8f204529ec35 100644
--- a/app-emacs/jde/ChangeLog
+++ b/app-emacs/jde/ChangeLog
@@ -1,9 +1,13 @@
# ChangeLog for app-emacs/jde
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/jde/ChangeLog,v 1.3 2003/02/12 03:54:28 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/jde/ChangeLog,v 1.4 2003/10/02 20:26:14 usata Exp $
*jde-2.3.2 (30 Jan 2003)
+ 03 Oct 2003; Mamoru KOMACHI <usata@gentoo.org> files/70jde-gentoo.el:
+ Changed to not load jde automatically but autoload if a file ends
+ with .java (It reduces emacs startup time at each invocation)
+
30 Jan 2003; Matthew Kennedy <mkennedy@gentoo.org> ChangeLog,
jde-2.3.2.ebuild, files/70jde-gentoo.el,
files/digest-jde-2.3.2 :
diff --git a/app-emacs/jde/Manifest b/app-emacs/jde/Manifest
index bc2730a07a5d..e172245b687e 100644
--- a/app-emacs/jde/Manifest
+++ b/app-emacs/jde/Manifest
@@ -1,6 +1,7 @@
-MD5 bcde369968d58ed9e7c5ecdc3e01a6fa ChangeLog 567
+MD5 ed311f1f197057be791af05e3fec9bfd ChangeLog 771
MD5 33e259edf479cf3a1f07041a46c7b19a jde-2.2.8.ebuild 1330
MD5 4bf22796feafb960deeca6a9325402d0 jde-2.3.2.ebuild 1192
-MD5 8bb3b4a88a90e683d2cbcec5d3f9286d files/70jde-gentoo.el 102
+MD5 8c144cf6053d420b8e0bb2c46d8cca80 metadata.xml 176
+MD5 7158a0f444921d301f3048ce0c65435c files/70jde-gentoo.el 223
MD5 9bf66430f17828ee5b44b301ef32b007 files/digest-jde-2.2.8 62
MD5 9c5023efbe90c9b0fe4a567f66776075 files/digest-jde-2.3.2 62
diff --git a/app-emacs/jde/files/70jde-gentoo.el b/app-emacs/jde/files/70jde-gentoo.el
index b26d15d45d20..2613cfac549b 100644
--- a/app-emacs/jde/files/70jde-gentoo.el
+++ b/app-emacs/jde/files/70jde-gentoo.el
@@ -2,5 +2,5 @@
;;; JDE site-lisp configuration
(setq load-path (cons "@SITELISP@/lisp" load-path))
-(require 'jde)
-
+(autoload 'jde-mode "jde" "Java Development Environment Emacs" t)
+(setq auto-mode-alist (cons '("\\.java$" . jde-mode) auto-mode-alist))
diff --git a/app-emacs/jde/metadata.xml b/app-emacs/jde/metadata.xml
new file mode 100644
index 000000000000..99df102501c5
--- /dev/null
+++ b/app-emacs/jde/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<herd>java</herd>
+</pkgmetadata>