From: Stig Bakken Date: Sun, 6 May 2001 23:44:06 +0000 (+0000) Subject: updated the .emacs example X-Git-Tag: php-4.0.6RC1~93 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=67212de780001b51f6021a53f1144a95f9ee10c4;p=php updated the .emacs example --- diff --git a/pear/CODING_STANDARDS b/pear/CODING_STANDARDS index 072a9a2b73..cd48d1546b 100644 --- a/pear/CODING_STANDARDS +++ b/pear/CODING_STANDARDS @@ -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: