|
From: | martin-kemp |
Subject: | Using comment characters for specific major modes |
Date: | Sun, 6 Jun 2021 01:20:35 +0200 (CEST) |
That uses the command (comment-dwim ARG), but I got to get the comment characters to append to the string "s". (setq-local s (concat ";; " (make-string lena ?\;))) At least that was my plan. You may know the proper way to do it though. From: Jean Louis <bugs@gnu.support> To: martin-kemp@brusseler.com Subject: Re: Using comment characters for specific major modes Date: 06/06/2021 01:05:35 Europe/Paris Cc: help-gnu-emacs@gnu.org * martin-kemp@brusseler.com <martin-kemp@brusseler.com> [2021-06-06 01:54]: > Is there a command that gets the current comment for the major mode > used in the working buffer ? M-; -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns Sign an open letter in support of Richard M. Stallman https://stallmansupport.org/
[Prev in Thread] | Current Thread | [Next in Thread] |