summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/wikipedia-mode/files/50wikipedia-mode-gentoo.el')
-rw-r--r--app-emacs/wikipedia-mode/files/50wikipedia-mode-gentoo.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/app-emacs/wikipedia-mode/files/50wikipedia-mode-gentoo.el b/app-emacs/wikipedia-mode/files/50wikipedia-mode-gentoo.el
new file mode 100644
index 000000000000..1c302088ec70
--- /dev/null
+++ b/app-emacs/wikipedia-mode/files/50wikipedia-mode-gentoo.el
@@ -0,0 +1,7 @@
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'wikipedia-mode "wikipedia-mode"
+ "Major mode for editing documents in Wikipedia markup." t)
+
+(add-to-list 'auto-mode-alist '("\\.wiki\\'" . wikipedia-mode))
+(add-to-list 'auto-mode-alist '("/[a-z]+\\.wikipedia\\.org" . wikipedia-mode))