[Top][All Lists]

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

Re: Multiline Comments

From: Michael Heerdegen
Subject: Re: Multiline Comments
Date: Mon, 09 Nov 2020 11:10:55 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Christopher Dimech <> writes:

> Have included the following macro for writing multiline comments
> (defmacro multic (&rest _) nil)
> But the thing complains when writing
> (multic
> #+STARTUP: content
> * Adds Directories to load-path and the Melpa Package Archives)

Yes indeed, such a macro will only allow to "comment" `read'able
symbolic Elisp expressions.

Even then it has another downside: even though the arguments are
ignored, the macro expression will still be evaluated and return
something (nil), so it may change the semantics of a surrounding form.

Why do you want to avoid commenting with ";" btw?



reply via email to

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