Skip to content

Commit 668496f

Browse files
committed
fix docstrings according to checkdoc
1 parent 0e819e5 commit 668496f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

json-mode.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ Return the new `auto-mode-alist' entry"
6666
".bowerrc"
6767
"composer.lock"
6868
)
69-
"List of filename as string to pass for the JSON entry of
70-
`auto-mode-alist'.
69+
"List of filenames as for the JSON entry of `auto-mode-alist'.
7170
7271
Note however that custom `json-mode' entries in `auto-mode-alist'
7372
won’t be affected."
@@ -126,14 +125,15 @@ This function calls `json-mode--update-auto-mode' to change the
126125

127126
;;;###autoload
128127
(defun json-mode-show-path ()
129-
"Print the path to the node at point to the minibuffer, and yank to the kill ring."
128+
"Print the path to the node at point to the minibuffer."
130129
(interactive)
131130
(message (jsons-print-path)))
132131

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

135134
;;;###autoload
136135
(defun json-mode-kill-path ()
136+
"Save JSON path to object at point to kill ring."
137137
(interactive)
138138
(kill-new (jsons-print-path)))
139139

0 commit comments

Comments
 (0)