summarylogtreecommitdiffstats
path: root/emacs-textile-mode.install
diff options
context:
space:
mode:
authorAlfredo Beaumont2015-08-17 23:07:45 +0200
committerAlfredo Beaumont2015-08-17 23:07:45 +0200
commitef31eefa4fdae8f69d3b65337587747944fd33b4 (patch)
tree2b5f5a53eafc2989e4573687bbe55b70c8026608 /emacs-textile-mode.install
downloadaur-ef31eefa4fdae8f69d3b65337587747944fd33b4.tar.gz
Emacs textile mode 6
Diffstat (limited to 'emacs-textile-mode.install')
-rw-r--r--emacs-textile-mode.install19
1 files changed, 19 insertions, 0 deletions
diff --git a/emacs-textile-mode.install b/emacs-textile-mode.install
new file mode 100644
index 000000000000..c5eaf149c7bb
--- /dev/null
+++ b/emacs-textile-mode.install
@@ -0,0 +1,19 @@
+post_install () {
+
+cat << EOF
+
+==> Add this code to your .emacs file to use the mode:
+
+(require 'textile-mode)
+(add-to-list 'auto-mode-alist '("\\.textile\\'" . textile-mode))
+
+EOF
+}
+
+post_upgrade () {
+ post_install $1
+}
+
+op=$1
+shift
+$op $*