Skip to content

Commit 382f1cb

Browse files
committed
Modify commentary
1 parent 65178d5 commit 382f1cb

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

php-mode.el

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,34 +33,35 @@
3333
;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
3434
;; 02110-1301, USA.
3535

36-
;;; Usage
36+
;;; Commentary:
37+
38+
;; PHP Mode is a major mode for editing PHP source code. It's an
39+
;; extension of C mode; thus it inherits all C mode's navigation
40+
;; functionality. But it colors according to the PHP grammar and
41+
;; indents according to the PEAR coding guidelines. It also includes
42+
;; a couple handy IDE-type features such as documentation search and a
43+
;; source and class browser.
44+
45+
;; ## Usage
3746

3847
;; Put this file in your Emacs lisp path (eg. site-lisp) and add to
3948
;; your .emacs file:
40-
;;
49+
4150
;; (require 'php-mode)
4251

4352
;; To use abbrev-mode, add lines like this:
53+
4454
;; (add-hook 'php-mode-hook
4555
;; '(lambda () (define-abbrev php-mode-abbrev-table "ex" "extends")))
4656

4757
;; To make php-mode compatible with html-mode, see http://php-mode.sf.net
4858

4959
;; Many options available under Help:Customize
5060
;; Options specific to php-mode are in
51-
;; Programming/Languages/Php
61+
;; Programming/Languages/PHP
5262
;; Since it inherits much functionality from c-mode, look there too
5363
;; Programming/Languages/C
5464

55-
;;; Commentary:
56-
57-
;; PHP Mode is a major mode for editing PHP source code. It's an
58-
;; extension of C mode; thus it inherits all C mode's navigation
59-
;; functionality. But it colors according to the PHP grammar and
60-
;; indents according to the PEAR coding guidelines. It also includes
61-
;; a couple handy IDE-type features such as documentation search and a
62-
;; source and class browser.
63-
6465
;;; Code:
6566

6667
(require 'cc-mode)

0 commit comments

Comments
 (0)