Function: foreground-color-at-point

foreground-color-at-point is a byte-compiled function defined in faces.el.gz.

Signature

(foreground-color-at-point)

Documentation

Return the foreground color of the character after point.

On TTY frames, the returned color name can be "unspecified-fg", which stands for the unknown default foreground color of the display where the frame is displayed.

Source Code

;; Defined in /usr/src/emacs/lisp/faces.el.gz
(defun foreground-color-at-point ()
  "Return the foreground color of the character after point.
On TTY frames, the returned color name can be \"unspecified-fg\",
which stands for the unknown default foreground color of the
display where the frame is displayed."
  (faces--attribute-at-point :foreground 'foreground-color))