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

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

[elpa] externals/beardbolt 526ed37d71 088/323: Don't add overlays to non


From: ELPA Syncer
Subject: [elpa] externals/beardbolt 526ed37d71 088/323: Don't add overlays to non-rmsbolt-mode buffers
Date: Thu, 9 Mar 2023 10:58:20 -0500 (EST)

branch: externals/beardbolt
commit 526ed37d71c1d5ed28c78e512995c6e611f26f04
Author: Jay Kamat <jaygkamat@gmail.com>
Commit: Jay Kamat <jaygkamat@gmail.com>

    Don't add overlays to non-rmsbolt-mode buffers
---
 rmsbolt.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/rmsbolt.el b/rmsbolt.el
index 4760413ec9..53654acf60 100644
--- a/rmsbolt.el
+++ b/rmsbolt.el
@@ -1055,7 +1055,8 @@ Argument STR compilation finish status."
              (src-buffer
               (buffer-local-value 'rmsbolt-src-buffer (current-buffer)))
              ;; Don't run on unsaved buffers
-             (should-run (not (buffer-modified-p src-buffer)))
+             (should-run (and (not (buffer-modified-p src-buffer))
+                              (buffer-local-value 'rmsbolt-mode src-buffer)))
              (output-buffer (get-buffer-create rmsbolt-output-buffer))
              (current-line (line-number-at-pos))
              (src-current-line



reply via email to

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