summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2014-02-18 07:11:08 +0000
committerUlrich Müller <ulm@gentoo.org>2014-02-18 07:11:08 +0000
commit46026da742e06480697bb52878a61416ec8be8bb (patch)
treed1d693d8812d65fa9cff96b8c85bb659be6ceb09 /app-emacs/mediawiki/files
parentVersion bump. (diff)
downloadgentoo-2-46026da742e06480697bb52878a61416ec8be8bb.tar.gz
gentoo-2-46026da742e06480697bb52878a61416ec8be8bb.tar.bz2
gentoo-2-46026da742e06480697bb52878a61416ec8be8bb.zip
Initial import, from Emacs overlay. Ebuild contributed by me.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 9433907D693FB5B8!)
Diffstat (limited to 'app-emacs/mediawiki/files')
-rw-r--r--app-emacs/mediawiki/files/50mediawiki-gentoo.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/app-emacs/mediawiki/files/50mediawiki-gentoo.el b/app-emacs/mediawiki/files/50mediawiki-gentoo.el
new file mode 100644
index 000000000000..25acf753f365
--- /dev/null
+++ b/app-emacs/mediawiki/files/50mediawiki-gentoo.el
@@ -0,0 +1,10 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'mediawiki-open "mediawiki"
+ "Open a wiki page specified by NAME from the mediawiki engine" t)
+(autoload 'mediawiki-site "mediawiki"
+ "Set up mediawiki.el for a site." t)
+(eval-after-load "mediawiki"
+ '(add-to-list 'mediawiki-site-alist
+ '("Gentoo" "http://wiki.gentoo.org/" "" "" "Main Page")
+ nil
+ (lambda (a b) (equal (car a) (car b)))))