Skip to content
This repository was archived by the owner on Feb 4, 2021. It is now read-only.

Parenthesis and Indent re-arangement #54

@ghost

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions