]> granicus.if.org Git - php/commitdiff
updated the .emacs example
authorStig Bakken <ssb@php.net>
Sun, 6 May 2001 23:44:06 +0000 (23:44 +0000)
committerStig Bakken <ssb@php.net>
Sun, 6 May 2001 23:44:06 +0000 (23:44 +0000)
pear/CODING_STANDARDS

index 072a9a2b73c6be0cbf0734421a199ee3ff2c49a5..cd48d1546b56f921274bfac6ac9b13acdf363631 100644 (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: