Skip to content

Commit 7185174

Browse files
committed
Fix quotations in doc strings
1 parent a8194bc commit 7185174

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

lisp/php-ide.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182
"Hook functions called when before activating or deactivating PHP-IDE.
183183
Notice that two arguments (FEATURE ACTIVATE) are given.
184184
185-
FEATURE: A symbol, like 'lsp-mode.
185+
FEATURE: A symbol, like \\='lsp-mode.
186186
ACTIVATE: T is given when activeting, NIL when deactivating PHP-IDE."
187187
:tag "PHP-IDE Mode Functions"
188188
:group 'php-ide

lisp/php.el

+5-5
Original file line numberDiff line numberDiff line change
@@ -261,12 +261,12 @@ an integer (the current comment nesting)."
261261
"Make a regular expression for methods with the given VISIBILITY.
262262
263263
VISIBILITY must be a string that names the visibility for a PHP
264-
method, e.g. \'public\'. The parameter VISIBILITY can itself also
264+
method, e.g. `public'. The parameter VISIBILITY can itself also
265265
be a regular expression.
266266
267267
The regular expression this function returns will check for other
268-
keywords that can appear in method signatures, e.g. \'final\' and
269-
\'static\'. The regular expression will have one capture group
268+
keywords that can appear in method signatures, e.g. `final' and
269+
`static'. The regular expression will have one capture group
270270
which will be the name of the method."
271271
(when (stringp visibility)
272272
(setq visibility (list visibility)))
@@ -293,8 +293,8 @@ which will be the name of the method."
293293
'((* any) line-end))))))
294294

295295
(defun php-create-regexp-for-classlike (type)
296-
"Accepts a `TYPE' of a \'classlike\' object as a string, such as
297-
\'class\' or \'interface\', and returns a regexp as a string which
296+
"Accepts a `TYPE' of a 'classlike' object as a string, such as
297+
'class' or 'interface', and returns a regexp as a string which
298298
can be used to match against definitions for that classlike."
299299
(concat
300300
;; First see if 'abstract' or 'final' appear, although really these

0 commit comments

Comments
 (0)