summaryrefslogtreecommitdiff
path: root/llama.el
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2024-10-03 21:05:58 +0200
committerJonas Bernoulli <jonas@bernoul.li>2024-10-03 21:05:58 +0200
commitf349f7503eb0a2c8a4458bebf78c2583e0f83dda (patch)
tree1941d5fbb4aa6ea3c96b07b79c0420a254ef9cf2 /llama.el
parent49e26a2998bcc10ed16cf29482c07571cd8dad93 (diff)
llama--match-and-fontify: Simplify
Diffstat (limited to 'llama.el')
-rw-r--r--llama.el5
1 files changed, 1 insertions, 4 deletions
diff --git a/llama.el b/llama.el
index d655bd8..a71f4e1 100644
--- a/llama.el
+++ b/llama.el
@@ -377,10 +377,7 @@ expansion, and the looks of this face should hint at that.")
(prog1 t
(save-excursion
(goto-char (match-beginning 0))
- (when-let (((save-match-data
- (let ((ppss (syntax-ppss)))
- (not (or (nth 3 ppss) ;in string
- (nth 4 ppss)))))) ;in comment
+ (when-let (((save-match-data (not (nth 8 (syntax-ppss)))))
((fboundp 'read-positioning-symbols))
(expr (ignore-errors
(read-positioning-symbols (current-buffer)))))