Skip to content

Commit 29b3493

Browse files
committed
Fix doc styles
1 parent d1c5726 commit 29b3493

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

php-mode.el

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ Turning this on will open it whenever `php-mode' is loaded."
171171
"\\)\\>[^_]?"))
172172

173173
(defun php-mode-extra-constants-set(sym value)
174-
"Apply the list of extra constant keywords VALUE.
174+
"Apply the list of extra constant keywords `VALUE'.
175175
176176
This function is called when the custom variable php-extra-constants
177177
is updated. The web-mode-extra-constants list is appended to the list
@@ -678,8 +678,7 @@ but only if the setting is enabled"
678678
(tab-width . 4)))
679679

680680
(defun php-enable-pear-coding-style ()
681-
"Sets up php-mode to use the coding styles preferred for PEAR
682-
code and modules."
681+
"Set up php-mode to use the coding styles preferred for PEAR code and modules."
683682
(interactive)
684683
(php-set-style "pear"))
685684

@@ -693,8 +692,7 @@ code and modules."
693692
(php-style-delete-trailing-whitespace . t)))
694693

695694
(defun php-enable-drupal-coding-style ()
696-
"Makes php-mode use coding styles that are preferable for
697-
working with Drupal."
695+
"Make php-mode use coding styles that are preferable for working with Drupal."
698696
(interactive)
699697
(php-set-style "drupal"))
700698

@@ -944,8 +942,7 @@ this ^ lineup"
944942
"Regular expression for the start of a PHP heredoc.")
945943

946944
(defun php-heredoc-end-re (heredoc-start)
947-
"Build a regular expression for the end of a heredoc started by
948-
the string HEREDOC-START."
945+
"Build a regular expression for the end of a heredoc started by the string HEREDOC-START."
949946
;; Extract just the identifier without <<< and quotes.
950947
(string-match "\\w+" heredoc-start)
951948
(concat "^\\(" (match-string 0 heredoc-start) "\\)\\W"))
@@ -976,8 +973,7 @@ the string HEREDOC-START."
976973
(c-put-char-property (1- (point)) 'syntax-table (string-to-syntax "|")))
977974

978975
(defun php-syntax-propertize-extend-region (start end)
979-
"Extend the propertize region if START or END falls inside a
980-
PHP heredoc."
976+
"Extend the propertize region if START or END falls inside a PHP heredoc."
981977
(let ((new-start)
982978
(new-end))
983979
(goto-char start)
@@ -1633,7 +1629,7 @@ Look at the `php-executable' variable instead of the constant \"php\" command."
16331629

16341630

16351631
(defun php-send-region (start end)
1636-
"Send the region between `start' and `end' to PHP for execution.
1632+
"Send the region between `START' and `END' to PHP for execution.
16371633
The output will appear in the buffer *PHP*."
16381634
(interactive "r")
16391635
(let ((php-buffer (get-buffer-create "*PHP*"))

0 commit comments

Comments
 (0)