summarylogtreecommitdiffstats
path: root/emacs-adoc-mode.install
diff options
context:
space:
mode:
Diffstat (limited to 'emacs-adoc-mode.install')
-rw-r--r--emacs-adoc-mode.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/emacs-adoc-mode.install b/emacs-adoc-mode.install
new file mode 100644
index 00000000000..d8ff528a1e1
--- /dev/null
+++ b/emacs-adoc-mode.install
@@ -0,0 +1,12 @@
+post_install () {
+cat << EOF
+==> Add this code to your .emacs file to use the mode:
+
+(require 'adoc-mode)
+(add-to-list 'auto-mode-alist '("\.adoc\'" . adoc-mode))
+EOF
+}
+
+post_upgrade () {
+ post_install
+}