json-emacs/json-mode

Ignored Numerical Prefix

nagy opened this issue · 0 comments

nagy commented

The numerical prefix argument for incrementing JSON numbers ( e.g. C-u 100 M-x json-increment-number-at-point) seems to be ignored.
This is because in the function json-increment-number-at-point is lacking the "P" argument for the interactive notation like so:

(interactive "P")

According to this and this that notation is required.