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 (progn (vertical-motion 0) (point)))
(end (progn (vertical-motion 1) (point))))
(pulse-momentary-highlight-region start end face))))