[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lesser-than as open paren
From: |
Andreas Röhler |
Subject: |
lesser-than as open paren |
Date: |
Tue, 31 Jan 2023 13:26:07 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 |
Hi,
when taking notes in plain org-mode, run into trouble for instance with
this scala-snippet:
def scalaFiles =
for {
file <- filesHere
if file.getName.endsWith(".scala")
} yield file
With cursor on lesser-than sign, get a type-mismatch.
The culprit resides in org.el:
(modify-syntax-entry ?< "(>")
(modify-syntax-entry ?> ")<")
Maybe use this modification only when a special case requires it?
Thanks,
Andreas
- lesser-than as open paren,
Andreas Röhler <=