branch: externals/pulsar commit dcc94662a99653bbb3e172d08ed697c15164c050 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@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