Function: combobulate-pulse-node

combobulate-pulse-node is a natively compiled function defined in combobulate-misc.el.

Signature

(combobulate-pulse-node NODE &optional WAIT-TIME)

Documentation

Pulses NODE for WAIT-TIME.

Source Code

;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-misc.el
(defun combobulate-pulse-node (node &optional wait-time)
  "Pulses NODE for WAIT-TIME."
  (when combobulate-pulse-node
    (save-excursion
      (goto-char (combobulate-node-start node))
      (unless (combobulate-node-visible-window-p node nil t)
        (recenter))
      (let ((ov (make-overlay (combobulate-node-start node)
                              (combobulate-node-end node))))
        (unwind-protect
            (progn
              (overlay-put ov 'face 'combobulate-tree-pulse-node-face)
              (sit-for (or wait-time combobulate-pulse-node-wait-time)))
          (delete-overlay ov))))))