1 2 3 4
To use php-mode in Emacs/XEmacs, add the following lines to your ~/.emacs: (autoload 'php-mode "php-mode" "Mode for editing PHP source files") (add-to-list 'auto-mode-alist '("\\.\\(inc\\|php[s34]?\\)" . php-mode))