[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Special hilighting for comments
From: |
Eli Zaretskii |
Subject: |
Re: Special hilighting for comments |
Date: |
Sat, 10 Dec 2022 16:21:03 +0200 |
> Date: Sat, 10 Dec 2022 11:26:58 +0000
> From: Heime <heimeborgia@protonmail.com>
> Cc: help-gnu-emacs@gnu.org
>
> > Type "M-s h l" (or "M-x highlight-lines-matching-regexp RET").
>
> How can I do it with elisp code. Highlighting lines starting with
> ";; [".
>
> Thus in elisp-mode, how to achieve the following
>
> ;; [Highlighted line]
> ;; Some comment
> ;; Other comment
>
> Have started with the following, whilst you suggest
> "highlight-lines-matching-regexp".
I suggested a user command. If you want to do it from Lisp, use the
command as a function, or use lower-level functions if that suits your
needs better.
- Special hilighting for comments, Heime, 2022/12/09
- Re: Special hilighting for comments, Marcin Borkowski, 2022/12/10
- Re: Special hilighting for comments, Eli Zaretskii, 2022/12/10
- Re: Special hilighting for comments, Heime, 2022/12/10
- Re: Special hilighting for comments, Eli Zaretskii, 2022/12/10
- Re: Special hilighting for comments, Heime, 2022/12/10
- Re: Special hilighting for comments, Eli Zaretskii, 2022/12/10
- Re: Special hilighting for comments, Heime, 2022/12/10
- Re: Special hilighting for comments,
Eli Zaretskii <=
- Re: Special hilighting for comments, Heime, 2022/12/10
- Re: Special hilighting for comments, Jean Louis, 2022/12/10
- Re: Special hilighting for comments, Heime, 2022/12/10
- Re: Special hilighting for comments, Eli Zaretskii, 2022/12/10
- Re: Special hilighting for comments, Heime, 2022/12/10
- Re: Special hilighting for comments, Thibaut Verron, 2022/12/10
- Re: Special hilighting for comments, Eli Zaretskii, 2022/12/10
- Re: Special hilighting for comments, Heime, 2022/12/11
- Re: Special hilighting for comments, Jean Louis, 2022/12/10
- Re: Special hilighting for comments, Heime, 2022/12/10