aboutsummaryrefslogblamecommitdiffstats
path: root/emacs-d-mode/emacs-d-mode.install
blob: a7f8c2ff3419cd6c7dfa443102d9352d36fbe182 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                                            
post_install() {
  cat << EOF
==> To set up Emacs to automatically edit files ending in .d[i] using D-mode
==> add the following to your ~/.emacs file (GNU Emacs) or ~/.xemacs/init.el
==> file (XEmacs):
    
    (autoload 'd-mode "d-mode" "Major mode for editing D code." t)
    (add-to-list 'auto-mode-alist '("\\\.d[i]?\\\'" . d-mode))

EOF
}

post_upgrade() {
  post_install $1
}