After installing Emacs from http://www.gnu.org/software/emacs/, copy those two files below to your "%AppData%\.emacs.d" directory:
- au3-mode.el from http://sourceforge.net/projects/au3-mode/
- and php-mode.el from http://php-mode.sourceforge.net/
Edit the "%AppData%\.emacs" file and add the following lines:
(global-font-lock-mode 1)(add-to-list 'load-path "~/.emacs.d")(require 'php-mode)(setq auto-mode-alist(append '(("\\.php$" . php-mode)("\\.module$" . php-mode))auto-mode-alist))(require 'au3-mode)(setq auto-mode-alist(append '(("\\.au2$" . au3-mode)("\\.au3$" . au3-mode))auto-mode-alist))
No comments:
Post a Comment