mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
updated the .emacs example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@46782 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
d4c6af461f
commit
dc2e46bf89
1 changed files with 11 additions and 1 deletions
|
@ -1,5 +1,12 @@
|
|||
<chapter id="pear.standards">
|
||||
<title>PEAR Coding Standards</title>
|
||||
<note>
|
||||
<simpara>
|
||||
The PEAR Coding Standards applies to code that is to become a part
|
||||
of PEAR, either distributed with PHP or available for download via
|
||||
PEAR's install tool.
|
||||
</simpara>
|
||||
</note>
|
||||
<sect1 id="pear.standards.indenting">
|
||||
<title>Indenting</title>
|
||||
<para>
|
||||
|
@ -12,7 +19,10 @@
|
|||
(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))))))
|
||||
</programlisting>
|
||||
</para>
|
||||
<para>Here are vim rules for the same thing:
|
||||
|
|
Loading…
Reference in a new issue