Replace php+-mode with regular php-mode

It seems php+-mode has issues with latest trunk builds of Emacs 24.4.
This commit is contained in:
2013-10-20 17:56:38 +01:00
parent 527cdac5f5
commit 0130de4fe9
3 changed files with 5 additions and 8 deletions

View File

@@ -0,0 +1,17 @@
(add-to-list 'auto-mode-alist '("\\.php\\'" . php-mode))
(defun customizations-for-php-mode ()
(interactive)
(setq whitespace-action (quote (auto-cleanup)))
(flyspell-prog-mode)
(linum-mode t)
(fci-mode)
(auto-complete-mode)
(subword-mode)
(setq php-basic-offset 2)
(setq tab-width 2)
(setq highlight-indentation-offset 2)
(highlight-indentation-mode)
(highlight-indentation-current-column-mode))
(add-hook 'php-mode-hook 'customizations-for-php-mode)