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

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

Re: Using comment characters for specific major modes


From: Jean Louis
Subject: Re: Using comment characters for specific major modes
Date: Sun, 6 Jun 2021 19:56:46 +0300
User-agent: Mutt/2.0.7+183 (3d24855) (2021-05-28)

* martin-kemp@brusseler.com <martin-kemp@brusseler.com> [2021-06-06 19:23]:
>    (let (cs)  ;; ok I think it is declared but nil
>      (cond 
> 
>        ((eq major-mode 'emacs-lisp-mode) ";;")
>        ((eq major-mode 'texinfo-mode)    "@c")
>        ((eq major-mode 'f90-mode)        "!!")
>        ((eq major-mode 'fortran-mode)    "cc"))  ;;; this evaluates
>                                           ;; to comments but 
                                            ;; does not assign it 
                                            ;; to variable


This form begin would assign evaluation from `cond' to variable `cs':

(let ((cs (cond 


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