facemenu-set-face-from-menu

facemenu-set-face-from-menu is an interactive compiled Lisp function in `facemenu.el'.


(facemenu-set-face-from-menu FACE START END)

Set the FACE of the region or next character typed.
This function is designed to be called from a menu; FACE is determined
using the event type of the menu entry. If FACE is a symbol whose
name starts with "fg:" or "bg:", then this functions sets the
foreground or background to the color specified by the rest of the
symbol's name. Any other symbol is considered the name of a face.

If the region is active (normally true except in Transient Mark mode)
and there is no prefix argument, this command sets the region to the
requested face.

Otherwise, this command specifies the face for the next character
inserted. Moving point or switching buffers before typing a character
to insert cancels the specification.