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

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

[elpa] externals/pulsar f20879ee38 2/2: Merge pull request #15 from ship


From: ELPA Syncer
Subject: [elpa] externals/pulsar f20879ee38 2/2: Merge pull request #15 from shipmints/pulsar--on-performance
Date: Thu, 29 Aug 2024 15:58:47 -0400 (EDT)

branch: externals/pulsar
commit f20879ee38121a30498b25bc3d0b07460227b63a
Merge: b4b967786a bf984f8855
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #15 from shipmints/pulsar--on-performance
    
    pulsar--on enable pulsar-mode only if necessary.
---
 pulsar.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pulsar.el b/pulsar.el
index 8910aa619d..c9cee4a4dc 100644
--- a/pulsar.el
+++ b/pulsar.el
@@ -482,7 +482,8 @@ This is a buffer-local mode.  Also check 
`pulsar-global-mode'."
   "Enable `pulsar-mode'."
   (unless (minibufferp)
     (let (inhibit-quit)
-      (pulsar-mode 1))))
+      (unless pulsar-mode
+        (pulsar-mode 1)))))
 
 ;;;###autoload
 (define-globalized-minor-mode pulsar-global-mode pulsar-mode pulsar--on)



reply via email to

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