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

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

[elpa] externals/pulsar dcc94662a9 07/28: Stop pulsing during pulsar-rev


From: ELPA Syncer
Subject: [elpa] externals/pulsar dcc94662a9 07/28: Stop pulsing during pulsar-reveal-entry
Date: Tue, 22 Mar 2022 06:58:02 -0400 (EDT)

branch: externals/pulsar
commit dcc94662a99653bbb3e172d08ed697c15164c050
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Stop pulsing during pulsar-reveal-entry
    
    It is better to use the recentering functions for that.
---
 pulsar.el | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/pulsar.el b/pulsar.el
index a515982231..b0990f13ef 100644
--- a/pulsar.el
+++ b/pulsar.el
@@ -268,17 +268,17 @@ The symbol is NAME, DOC for the doc string, and ARG is 
passed to
 (declare-function outline-show-entry "outline")
 
 (defun pulsar-reveal-entry ()
-  "Reveal Org or Outline entry and pulse line."
+  "Reveal Org or Outline entry.
+Use this in combination with `pulsar-recenter-top' or
+`pulsar-recenter-middle'."
   (cond
    ((and (eq major-mode 'org-mode)
          (org-at-heading-p))
-    (org-show-entry)
-    (pulsar-pulse-line))
+    (org-show-entry))
    ((and (or (eq major-mode 'outline-mode)
              (bound-and-true-p outline-minor-mode))
          (outline-on-heading-p))
-    (outline-show-entry)
-    (pulsar-pulse-line))))
+    (outline-show-entry))))
 
 (provide 'pulsar)
 ;;; pulsar.el ends here



reply via email to

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