branch: externals/pulsar commit 3745de51519edd5c18a0bf0f53c1a8c60ae073cf Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Remove the minor mode lighter There was a misunderstanding. We do not need one. Thanks to Rudolf Adamkovič and Daniel Mendler for the feedback in issue 11: <https://gitlab.com/protesilaos/pulsar/-/issues/11>. --- pulsar.el | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pulsar.el b/pulsar.el index f447899217..10722bc058 100644 --- a/pulsar.el +++ b/pulsar.el @@ -297,14 +297,10 @@ default)." ;;;; Mode setup -(defvar pulsar-lighter " -P-" - "Mode line lighter used by `pulsar-mode'.") - (define-minor-mode pulsar-mode "Set up pulsar for each function in `pulsar-pulse-functions'. This is a buffer-local mode. Also check `pulsar-global-mode'." :global nil - :lighter pulsar-lighter (if pulsar-mode (add-hook 'post-command-hook #'pulsar--post-command-pulse nil 'local) (remove-hook 'post-command-hook #'pulsar--post-command-pulse 'local)))