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

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

[nongnu] elpa/smartparens 90c59cb 1/2: fix(ess): only test roxy if the r


From: ELPA Syncer
Subject: [nongnu] elpa/smartparens 90c59cb 1/2: fix(ess): only test roxy if the regexp is bound and non-nil
Date: Sat, 4 Sep 2021 09:57:38 -0400 (EDT)

branch: elpa/smartparens
commit 90c59cb7107e3ea8e78d08314a1a9fec78114995
Author: Matus Goljer <matus.goljer@gmail.com>
Commit: Matus Goljer <matus.goljer@gmail.com>

    fix(ess): only test roxy if the regexp is bound and non-nil
    
    Fixes #1090
---
 smartparens-ess.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/smartparens-ess.el b/smartparens-ess.el
index 15b923e..569a2ba 100644
--- a/smartparens-ess.el
+++ b/smartparens-ess.el
@@ -155,7 +155,7 @@ ARGS."
 (defun sp-ess-roxy-str-p (_id action _context)
   "Test if looking back at `ess-roxy-re'.
 ID, ACTION, CONTEXT."
-  (when (and (boundp 'ess-roxy-re) (eq action 'insert))
+  (when (and (bound-and-true-p ess-roxy-re) (eq action 'insert))
     (sp--looking-back-p ess-roxy-re)))
 
 (sp-with-modes 'ess-mode



reply via email to

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