summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStig Bakken <ssb@php.net>2001-05-06 23:44:06 +0000
committerStig Bakken <ssb@php.net>2001-05-06 23:44:06 +0000
commit67212de780001b51f6021a53f1144a95f9ee10c4 (patch)
tree4410b602a25962a979ce65c333bcacb754091aa9
parentdd9792bfae0607133b405c28b635e1c2914e2c90 (diff)
downloadphp-git-67212de780001b51f6021a53f1144a95f9ee10c4.tar.gz
updated the .emacs example
-rw-r--r--pear/CODING_STANDARDS5
1 files changed, 4 insertions, 1 deletions
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: