summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2019-09-07 11:04:10 +0200
committerUlrich Müller <ulm@gentoo.org>2019-09-07 11:04:45 +0200
commitaac9d5b6badf73fd8dee0dfd04ea5217d4050d94 (patch)
tree452d5baa72551ce08b8e5234d54b26af6263833c /app-emacs/mediawiki/files
parentapp-emacs/uptimes: Bump version to 3.7. (diff)
downloadgentoo-aac9d5b6badf73fd8dee0dfd04ea5217d4050d94.tar.gz
gentoo-aac9d5b6badf73fd8dee0dfd04ea5217d4050d94.tar.bz2
gentoo-aac9d5b6badf73fd8dee0dfd04ea5217d4050d94.zip
app-emacs/mediawiki: Fix mediawiki-site-alist in site-init file.
Package-Manager: Portage-2.3.73, Repoman-2.3.17 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-emacs/mediawiki/files')
-rw-r--r--app-emacs/mediawiki/files/50mediawiki-gentoo-2.2.9.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-emacs/mediawiki/files/50mediawiki-gentoo-2.2.9.el b/app-emacs/mediawiki/files/50mediawiki-gentoo-2.2.9.el
new file mode 100644
index 000000000000..b1adfd79c7bf
--- /dev/null
+++ b/app-emacs/mediawiki/files/50mediawiki-gentoo-2.2.9.el
@@ -0,0 +1,11 @@
+(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" "https://wiki.gentoo.org/wiki/" "" "" nil "Main Page")
+ nil
+ (lambda (a b) (equal (car a) (car b)))))