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

[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: Sun, 6 Jun 2021 18:53:35 +0200 (CEST)

This is getting very confusing again.



I would like "cs" to be ";;"' "@c", "!!", "cc"' according to the major mode.

Thought I could declare  "cs" without setting it.






From: Jean Louis <bugs@gnu.support>
To: martin-kemp@brusseler.com
Subject: Re: Using comment characters for specific major modes
Date: 06/06/2021 18:40:15 Europe/Paris
Cc: Stefan Möding <s.moeding@gmail.com>;
   help-gnu-emacs@gnu.org

* martin-kemp@brusseler.com <martin-kemp@brusseler.com> [2021-06-06 19:23]:
> I am encountering tho problem you are mentioning.  "cs" stays at nil.

(let (cs)
1
cs) ⇒ nil

This is because there was no assignment of value 1 to variable
cs. Value 1 was just evaluated as such. 

(let ((cs 1)) ;; this is assignment of value 1 to variable cs
cs) ⇒ 1



-- 
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/




reply via email to

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