[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Using comment characters for specific major modes
From: |
martin-kemp |
Subject: |
Using comment characters for specific major modes |
Date: |
Sat, 5 Jun 2021 22:52:06 +0200 (CEST) |
Am using the following expression to make a line composed of ";" of length lena.
The first two semicolons ";;" are for when I use elisp code.
(setq-local s (concat ";; " (make-string lena ?\;)))
But I want to change the starting ";;" to be the comment character of the major
mode I am working with.
For texinfo I want "@c", and for fortran-mode I want "c", and "!!" for f90-mode.
- Using comment characters for specific major modes,
martin-kemp <=
- Re: Using comment characters for specific major modes, Jean Louis, 2021/06/05
- Using comment characters for specific major modes, martin-kemp, 2021/06/05
- Re: Using comment characters for specific major modes, Jean Louis, 2021/06/05
- Using comment characters for specific major modes, martin-kemp, 2021/06/05
- Re: Using comment characters for specific major modes, Jean Louis, 2021/06/05
- Using comment characters for specific major modes, martin-kemp, 2021/06/05
- Re: Using comment characters for specific major modes, Jean Louis, 2021/06/05
- Using comment characters for specific major modes, martin-kemp, 2021/06/05
- Re: Using comment characters for specific major modes, Jean Louis, 2021/06/05
- Using comment characters for specific major modes, martin-kemp, 2021/06/05