branch: elpa/llama
commit f349f7503eb0a2c8a4458bebf78c2583e0f83dda
Author: Jonas Bernoulli <jo...@bernoul.li>
Commit: Jonas Bernoulli <jo...@bernoul.li>

    llama--match-and-fontify: Simplify
---
 llama.el | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/llama.el b/llama.el
index d655bd8d0e..a71f4e1dc3 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)))))

Reply via email to