With a little side of applesauce...

Tuesday, January 30, 2007

emacs apache-mode on Debian

On Debian, apache-mode is a part of the emacs-goodies-el package. I do a lot of work with apache conf files, so load it by default for any file that ends with .conf:


;; apache mode to edit config files.
(autoload 'apache-mode "apache-mode" "Apache Major Mode" t)
(setq auto-mode-alist
(cons '("\.conf$" . apache-mode) auto-mode-alist))

No comments: