diff options
author | Alfredo Beaumont | 2015-08-17 23:07:45 +0200 |
---|---|---|
committer | Alfredo Beaumont | 2015-08-17 23:07:45 +0200 |
commit | ef31eefa4fdae8f69d3b65337587747944fd33b4 (patch) | |
tree | 2b5f5a53eafc2989e4573687bbe55b70c8026608 /emacs-textile-mode.install | |
download | aur-ef31eefa4fdae8f69d3b65337587747944fd33b4.tar.gz |
Emacs textile mode 6
Diffstat (limited to 'emacs-textile-mode.install')
-rw-r--r-- | emacs-textile-mode.install | 19 |
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 $* |