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

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

Re: multi-line highlighting


From: Colin Baxter
Subject: Re: multi-line highlighting
Date: Sun, 28 Feb 2021 10:13:07 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Typo! Should be

#+begin_src elisp
(add-hook 'org-mode-hook (lambda ()
   (font-lock-add-keywords nil
     '(("\\(Alpha:\\)\\([^\n\r\t]+\\)\\(.\\)"
      (1 font-lock-builtin-face) ;; Face for 'Alpha:'
      (2 font-lock-doc-face) ;; Subsequent face
      )))))
#+end_src

Bets wishes,






reply via email to

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