[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 <dimech@gmx.com> 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?
Regards,
Michael.
- Multiline Comments, Christopher Dimech, 2020/11/08
- Re: Multiline Comments,
Michael Heerdegen <=
- Re: Multiline Comments, Jean Louis, 2020/11/09
- Re: Multiline Comments, Michael Heerdegen, 2020/11/09
- Re: Multiline Comments, Christopher Dimech, 2020/11/09
- Re: Multiline Comments, Joost Kremers, 2020/11/09
- Re: Multiline Comments, Christopher Dimech, 2020/11/09
- Re: Multiline Comments, Joost Kremers, 2020/11/09
- Re: Multiline Comments, Christopher Dimech, 2020/11/09
- Re: Multiline Comments, Joost Kremers, 2020/11/09