[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Font lock in org+elisp confused with ?\[
From: |
Arthur Miller |
Subject: |
Font lock in org+elisp confused with ?\[ |
Date: |
Thu, 01 Apr 2021 06:42:49 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (windows-nt) |
Is it me or is it a bug?
When in org mode in an elisp block, this seems to confuse syntax
checker:
#+begin_src emacs-lisp
(progn
(if (= (following-char) ?\])
(forward-char -1))
)
#+end_src
Identation seems to think it is one level extra, and it also shows as
error. Same of course when testing for ?\[.
It does evaluate correctly. Ordinary elisp buffer does not have problem
with this, only when in code blocks in org-mode or elisp mode.I can send
in some screenshot with errors if needed.
- Font lock in org+elisp confused with ?\[,
Arthur Miller <=