summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJauhien Piatlicki <jauhien@gentoo.org>2014-10-18 22:54:52 +0000
committerJauhien Piatlicki <jauhien@gentoo.org>2014-10-18 22:54:52 +0000
commit000c11d4564335037e0c068b79dc95c42a3aae6c (patch)
tree05dc9bb7f2790a1067a83ad61cbbdaefe31dc82f /app-emacs
parentMaske >sys-apps/file-5.17 on musl for bug #525816 (diff)
downloadgentoo-2-000c11d4564335037e0c068b79dc95c42a3aae6c.tar.gz
gentoo-2-000c11d4564335037e0c068b79dc95c42a3aae6c.tar.bz2
gentoo-2-000c11d4564335037e0c068b79dc95c42a3aae6c.zip
add emacs herd and fix site-init file, thanks to Ulrich Müller (ulm)
(Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key 0xB2EFA1D4)
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/rust-mode/ChangeLog6
-rw-r--r--app-emacs/rust-mode/files/50rust-mode-gentoo.el3
-rw-r--r--app-emacs/rust-mode/metadata.xml1
3 files changed, 8 insertions, 2 deletions
diff --git a/app-emacs/rust-mode/ChangeLog b/app-emacs/rust-mode/ChangeLog
index 825ea44ee0bb..1ed9bcfc9c45 100644
--- a/app-emacs/rust-mode/ChangeLog
+++ b/app-emacs/rust-mode/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-emacs/rust-mode
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/rust-mode/ChangeLog,v 1.2 2014/10/18 12:42:52 jauhien Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/rust-mode/ChangeLog,v 1.3 2014/10/18 22:54:52 jauhien Exp $
+
+ 18 Oct 2014; Jauhien Piatlicki <jauhien@gentoo.org>
+ files/50rust-mode-gentoo.el, metadata.xml:
+ add emacs herd and fix site-init file, thanks to Ulrich Müller (ulm)
*rust-mode-9999 (18 Oct 2014)
diff --git a/app-emacs/rust-mode/files/50rust-mode-gentoo.el b/app-emacs/rust-mode/files/50rust-mode-gentoo.el
index 8686a13069af..0df93798a429 100644
--- a/app-emacs/rust-mode/files/50rust-mode-gentoo.el
+++ b/app-emacs/rust-mode/files/50rust-mode-gentoo.el
@@ -1,2 +1,3 @@
(add-to-list 'load-path "@SITELISP@")
-(require 'rust-mode)
+(autoload 'rust-mode "rust-mode" nil t)
+(add-to-list 'auto-mode-alist '("\\.rs\\'" . rust-mode))
diff --git a/app-emacs/rust-mode/metadata.xml b/app-emacs/rust-mode/metadata.xml
index 0b7db932cfa4..b1bfa491b811 100644
--- a/app-emacs/rust-mode/metadata.xml
+++ b/app-emacs/rust-mode/metadata.xml
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+ <herd>emacs</herd>
<maintainer>
<email>jauhien@gentoo.org</email>
<name>Jauhien Piatlicki</name>