Function: pulse-momentary-highlight-region

pulse-momentary-highlight-region is an autoloaded and byte-compiled function defined in pulse.el.gz.

Signature

(pulse-momentary-highlight-region START END &optional FACE)

Documentation

Highlight between START and END, unhighlighting before next command.

Optional argument FACE specifies the face to do the highlighting.

Source Code

;; Defined in /usr/src/emacs/lisp/pulse.el.gz
;;;###autoload
(defun pulse-momentary-highlight-region (start end &optional face)
  "Highlight between START and END, unhighlighting before next command.
Optional argument FACE specifies the face to do the highlighting."
  (let ((o (make-overlay start end)))
    ;; Mark it for deletion
    (overlay-put o 'pulse-delete t)
    (pulse-momentary-highlight-overlay o face)))