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

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

Re: ELisp Multiline Comments


From: Stefan Monnier
Subject: Re: ELisp Multiline Comments
Date: Sat, 10 Oct 2020 10:49:38 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> ELisp does not support multiline comments.
> You have two options:
>
> - Use `;;` and make sure to either ignore them or strip them when using the
>   comments's content:
> - Use unused arguments, e.g.:

There's also option 3, use a string:

    "
    Multiline
    Comment
    "

Where you have to be careful to only use at top level (i.e. between
ELisp expressions rather than within an ELisp expression), and you have
to be careful with the use of " within your comment.


        Stefan




reply via email to

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