updated the .emacs example

This commit is contained in:
Stig Bakken 2001-05-06 23:44:06 +00:00
parent dd9792bfae
commit 67212de780

View file

@ -17,7 +17,10 @@ need to ensure that it is called when you are editing php files):
(setq tab-width 4
c-basic-offset 4
c-hanging-comment-ender-p nil
indent-tabs-mode nil))
indent-tabs-mode
(not
(and (string-match "/\\(PEAR\\|pear\\)/" (buffer-file-name))
(string-match "\.php$" (buffer-file-name))))))
Here are vim rules for the same thing: