Emacs를 위한 세팅 방법

아래 내용을 .emacs에 삽입하십시요.

(defun metabbs-php-mode ()
  "PHP mode with adjusted defaults for use with the MetaBBS."
  (interactive)
  (php-mode)
  (setq tab-width 4
        c-basic-offset 4
        indent-tabs-mode t))

(setq auto-mode-alist
      (cons '("/path/to/metabbs.*/.*\\.php$" .
              metabbs-php-mode)
            auto-mode-alist))