diff options
author | Noel Maersk | 2016-03-31 13:16:10 +0300 |
---|---|---|
committer | Noel Maersk | 2016-03-31 13:16:10 +0300 |
commit | c9dc58b5bc5655eb85e0050e3a295a1d8f4f88f1 (patch) | |
tree | d2c84dcc0f038e8b646f9d08ff67bb453791853f /emacs-markdown-mode-git.install | |
download | aur-c9dc58b5bc5655eb85e0050e3a295a1d8f4f88f1.tar.gz |
emacs-markdown-mode-git
Diffstat (limited to 'emacs-markdown-mode-git.install')
-rw-r--r-- | emacs-markdown-mode-git.install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/emacs-markdown-mode-git.install b/emacs-markdown-mode-git.install new file mode 100644 index 000000000000..fe9dcf0bca63 --- /dev/null +++ b/emacs-markdown-mode-git.install @@ -0,0 +1,16 @@ +post_install() { + cat <<EOF +==> Add this code to your Emacs init to use markdown-mode: + +(autoload 'markdown-mode "markdown-mode.el" + "Major mode for editing Markdown files" t) +(setq auto-mode-alist + (cons '("\.md" . markdown-mode) auto-mode-alist)) + +EOF +} + + +post_upgrade() { + post_install $1 +} |