[Top][All Lists]

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

CC Mode inhibit auto-fill in EOL comments

From: Sergey Organov
Subject: CC Mode inhibit auto-fill in EOL comments
Date: Fri, 15 Oct 2021 19:25:12 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)


In CC Mode, when auto-fill-mode is turned on, is there a setting that'd
disable auto-filling of comments that follow code on the same line:

  int abc; // This comment is not to be auto-fill'ed
  if (something) { /* nor this one */

yet keep the rest of comments auto-fill'ed:

  // While this one is still the subject to auto-fill
  /* As well as this one */


-- Sergey Organov

reply via email to

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