diff options
Diffstat (limited to '')
-rw-r--r-- | emacs-d-mode/emacs-d-mode.install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/emacs-d-mode/emacs-d-mode.install b/emacs-d-mode/emacs-d-mode.install new file mode 100644 index 0000000..a7f8c2f --- /dev/null +++ b/emacs-d-mode/emacs-d-mode.install @@ -0,0 +1,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 +} + |