Skip to content

Commit 31ebd4c

Browse files
committed
Merge pull request #27 from kosh04/pre-check-read-only
Signal error when buffer read-only
2 parents dbec22e + a3506b3 commit 31ebd4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

json-reformat.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Else t:
169169
If you want to customize the reformat style,
170170
please see the documentation of `json-reformat:indent-width'
171171
and `json-reformat:pretty-string?'."
172-
(interactive "r")
172+
(interactive "*r")
173173
(let ((start-line (line-number-at-pos begin))
174174
(json-key-type 'string)
175175
(json-object-type 'hash-table))

0 commit comments

Comments
 (0)