Function: find-face-definition

find-face-definition is an autoloaded, interactive and byte-compiled function defined in find-func.el.gz.

Signature

(find-face-definition FACE)

Documentation

Find the definition of FACE. FACE defaults to the name near point.

Finds the Emacs Lisp library containing the definition of the face near point (selected by variable-at-point) in a buffer and places point before the definition.

Set mark before moving, if the buffer already existed.

See also find-function-recenter-line and find-function-after-hook.

Probably introduced at or before Emacs version 31.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/find-func.el.gz
;; For symmetry, this should be called find-face; but some programs
;; assume that, if that name is defined, it means something else.
;;;###autoload
(defun find-face-definition (face)
  "Find the definition of FACE.  FACE defaults to the name near point.

Finds the Emacs Lisp library containing the definition of the face
near point (selected by `variable-at-point') in a buffer and
places point before the definition.

Set mark before moving, if the buffer already existed.

See also `find-function-recenter-line' and `find-function-after-hook'."
  (interactive (find-function-read 'defface))
  (find-function-do-it face 'defface 'switch-to-buffer))