emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/rainbow-delimiters 0a4e4958ed 113/188: Add a missing or in


From: ELPA Syncer
Subject: [nongnu] elpa/rainbow-delimiters 0a4e4958ed 113/188: Add a missing or in rainbow-delimiters--char-ineligible-p.
Date: Sat, 1 Jan 2022 00:58:57 -0500 (EST)

branch: elpa/rainbow-delimiters
commit 0a4e4958ede336a6d43ca35dbfa34a0db8cfb3e2
Author: Fanael Linithien <fanael4@gmail.com>
Commit: Fanael Linithien <fanael4@gmail.com>

    Add a missing or in rainbow-delimiters--char-ineligible-p.
    
    Fortunately, it didn't cause any noticeable problems.
---
 rainbow-delimiters.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rainbow-delimiters.el b/rainbow-delimiters.el
index 092fd11803..706161ad75 100644
--- a/rainbow-delimiters.el
+++ b/rainbow-delimiters.el
@@ -416,7 +416,7 @@ Returns t if char at loc meets one of the following 
conditions:
      (cond
       ;; Two character opener, LOC at the first character?
       ((/= 0 (logand #x10000 loc-syntax))
-       (/= 0 (logand #x20000 (car (syntax-after (1+ loc))))))
+       (/= 0 (logand #x20000 (or (car (syntax-after (1+ loc))) 0))))
       ;; Two character opener, LOC at the second character?
       ((/= 0 (logand #x20000 loc-syntax))
        (/= 0 (logand #x10000 (or (car (syntax-after (1- loc))) 0))))



reply via email to

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