Hello Shaun,
There is an issue happens in both Indent and Paren mode: When adding a ; comment inside a function at the right side of a form, parinfer adds parenthesis and re-arranges everything.
For example:
It's written normally (and works ok):
(defun convert-to-letter (num)
(cond ((equal num 1) "O")
((equal num 10) "X")
(t " ")))
and when adding a ; comment to any of the cond's clauses, it's becoming:
(defun convert-to-letter (num)
(cond ((equal num 1) "O")) ; some comment
((equal num 10) "X")
(t " "))
Emacs 25.2
Thank you very much.
nicon