diff --git a/mode-customizations.el b/mode-customizations.el index cebcbde..c96bcbd 100644 --- a/mode-customizations.el +++ b/mode-customizations.el @@ -15,7 +15,7 @@ (load-file (config-path "mode-customizations/lisp-mode.el")) (load-file (config-path "mode-customizations/makefile-mode.el")) (load-file (config-path "mode-customizations/markdown-mode.el")) -(load-file (config-path "mode-customizations/php-mode.el")) +(load-file (config-path "mode-customizations/php+-mode.el")) (load-file (config-path "mode-customizations/python-mode.el")) (load-file (config-path "mode-customizations/rhtml-mode.el")) (load-file (config-path "mode-customizations/ruby-mode.el")) diff --git a/mode-customizations/php-mode.el b/mode-customizations/php+-mode.el similarity index 53% rename from mode-customizations/php-mode.el rename to mode-customizations/php+-mode.el index 26e911a..e6be759 100644 --- a/mode-customizations/php-mode.el +++ b/mode-customizations/php+-mode.el @@ -1,6 +1,6 @@ -(add-to-list 'auto-mode-alist '("\\.php\\'" . php-mode)) +(add-to-list 'auto-mode-alist '("\\.php\\'" . php+-mode)) -(defun customizations-for-php-mode () +(defun customizations-for-php+-mode () (interactive) (setq whitespace-action (quote (auto-cleanup))) (flyspell-prog-mode) @@ -9,4 +9,4 @@ (auto-complete-mode) (highlight-indentation-mode)) -(add-hook 'php-mode-hook 'customizations-for-php-mode) +(add-hook 'php+-mode-hook 'customizations-for-php+-mode) diff --git a/packages.el b/packages.el index 9bc3da0..7317bf1 100644 --- a/packages.el +++ b/packages.el @@ -133,6 +133,9 @@ ;; Load fill-column-indicator (require 'fill-column-indicator) + ;; Load php+-mode + (require 'php+-mode) + ;; Load Undo-Tree (require 'undo-tree)