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

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

[elpa] externals/code-cells 031f726941 30/36: code-cells-eval: Fix check


From: ELPA Syncer
Subject: [elpa] externals/code-cells 031f726941 30/36: code-cells-eval: Fix check for a possibly active minor mode
Date: Mon, 28 Feb 2022 15:57:43 -0500 (EST)

branch: externals/code-cells
commit 031f726941994d4a98649631eceeebb44b515b1b
Author: Augusto Stoffel <arstoffel@gmail.com>
Commit: Augusto Stoffel <arstoffel@gmail.com>

    code-cells-eval: Fix check for a possibly active minor mode
---
 code-cells.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/code-cells.el b/code-cells.el
index 25cbe208b5..b4db998a4b 100644
--- a/code-cells.el
+++ b/code-cells.el
@@ -218,7 +218,7 @@ Called from Lisp, evaluate region between START and END."
   (interactive (code-cells--bounds (prefix-numeric-value current-prefix-arg) 
t))
   (funcall
    (or (seq-some (pcase-lambda (`(,mode . ,fun))
-                   (when (or (and (boundp mode) mode)
+                   (when (or (and (boundp mode) (symbol-value mode))
                              (derived-mode-p mode))
                      fun))
                  code-cells-eval-region-commands)



reply via email to

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