help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making c-mode comment-start return // rather than /*


From: Stefan Monnier
Subject: Re: Making c-mode comment-start return // rather than /*
Date: Tue, 13 Dec 2022 11:22:13 -0500
User-agent: Gnus/5.13 (Gnus v5.13)

Heime [2022-12-13 15:50:57] wrote:
> How can I make comment-start return // rather than /* for c-mode ?

`comment-start` says what string should be inserted to comment
something out.  I suspect you want to use `commend-start-skip` instead,
which is a regular expression matching the beginning of a comment.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]