Skip to content

M-j to continue a comment on the next lines indents the next line #981

Closed
@emmanueltouzery

Description

@emmanueltouzery

in emacs while in the middle of a comment, it's possible to ask to insert a carriage return and continue the comment on the next line.

eg, if "|" is the cursor position:

-- my comment|

you press M-j and you should get:

-- my comment
-- |

but I get:

-- my comment
    -- |

the comment continuation on the second line should not be indented.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions