diff options
-rw-r--r-- | app-emacs/mediawiki/files/50mediawiki-gentoo-2.2.9.el | 11 | ||||
-rw-r--r-- | app-emacs/mediawiki/mediawiki-2.2.9.ebuild | 2 |
2 files changed, 12 insertions, 1 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))))) diff --git a/app-emacs/mediawiki/mediawiki-2.2.9.ebuild b/app-emacs/mediawiki/mediawiki-2.2.9.ebuild index f81099795230..c896a51adca6 100644 --- a/app-emacs/mediawiki/mediawiki-2.2.9.ebuild +++ b/app-emacs/mediawiki/mediawiki-2.2.9.ebuild @@ -15,5 +15,5 @@ SLOT="0" KEYWORDS="~amd64 ~x86" S="${WORKDIR}/${MY_PN}-${PV}" -SITEFILE="50${PN}-gentoo.el" +SITEFILE="50${PN}-gentoo-${PV}.el" DOCS="README.mediawiki" |