Web design, programming, graphics, and pretty much anything else I care about.

Emacs php-mode

To get php-mode (with colorization) to automatically be invoked for *.php and *.inc files, put the following in the ~/.emacs file:

(load-library "php-mode.elc")
(setq auto-mode-alist (cons '("\\.php$" . php-mode) auto-mode-alist))
(setq auto-mode-alist (cons '("\\.inc$" . php-mode) auto-mode-alist))
(add-hook 'php-mode-user-hook 'turn-on-font-lock)