Function: hl-line-highlight

hl-line-highlight is a byte-compiled function defined in hl-line.el.gz.

Signature

(hl-line-highlight)

Documentation

Activate the Hl-Line overlay on the current line.

Source Code

;; Defined in /usr/src/emacs/lisp/hl-line.el.gz
(defun hl-line-highlight ()
  "Activate the Hl-Line overlay on the current line."
  (if hl-line-mode	; Might be changed outside the mode function.
      (progn
        (unless (overlayp hl-line-overlay)
          (setq hl-line-overlay (hl-line-make-overlay))) ; To be moved.
        (overlay-put hl-line-overlay
                     'window (unless hl-line-sticky-flag (selected-window)))
	(hl-line-move hl-line-overlay)
        (hl-line-maybe-unhighlight))
    (hl-line-unhighlight)))