Skip to content

Commit eedb456

Browse files
authored
Merge pull request #67 from UwUnyaa/checkdoc-fix
Fix docstrings according to checkdoc
2 parents bea2042 + 5cd3834 commit eedb456

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

json-mode.el

+3-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Return the new `auto-mode-alist' entry"
6868
".bowerrc"
6969
"composer.lock"
7070
)
71-
"List of filename as string to pass for the JSON entry of `auto-mode-alist'.
71+
"List of filenames for the JSON entry of `auto-mode-alist'.
7272
7373
Note however that custom `json-mode' entries in `auto-mode-alist'
7474
won’t be affected."
@@ -169,14 +169,15 @@ json font lock syntactic face function."
169169

170170
;;;###autoload
171171
(defun json-mode-show-path ()
172-
"Print the path to the node at point to the minibuffer, and yank to the kill ring."
172+
"Print the path to the node at point to the minibuffer."
173173
(interactive)
174174
(message (jsons-print-path)))
175175

176176
(define-key json-mode-map (kbd "C-c C-p") 'json-mode-show-path)
177177

178178
;;;###autoload
179179
(defun json-mode-kill-path ()
180+
"Save JSON path to object at point to kill ring."
180181
(interactive)
181182
(kill-new (jsons-print-path)))
182183

0 commit comments

Comments
 (0)