diff options
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 $* |