Function: pulse-momentary-highlight-one-line

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

Signature

(pulse-momentary-highlight-one-line &optional POINT FACE)

Documentation

Highlight the line around POINT, unhighlighting before next command.

If POINT is nil or missing, the current point is used instead.

Optional argument FACE specifies the face to do the highlighting.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/pulse.el.gz
;;;###autoload
(defun pulse-momentary-highlight-one-line (&optional point face)
  "Highlight the line around POINT, unhighlighting before next command.
If POINT is nil or missing, the current point is used instead.

Optional argument FACE specifies the face to do the highlighting."
  (save-excursion
    (goto-char (or point (point)))
    (let ((start (point-at-bol))
          (end (save-excursion
                 (end-of-line)
                 (when (not (eobp))
                   (forward-char 1))
                 (point))))
      (pulse-momentary-highlight-region start end face))))