Function: make-face-italic

make-face-italic is an interactive and byte-compiled function defined in faces.el.gz.

Signature

(make-face-italic FACE &optional FRAME)

Documentation

Make the font of FACE be italic, if possible.

FRAME nil or not specified means change face on all frames. Use set-face-attribute for finer control of the font slant.

Probably introduced at or before Emacs version 24.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/faces.el.gz
(defun make-face-italic (face &optional frame _noerror)
  "Make the font of FACE be italic, if possible.
FRAME nil or not specified means change face on all frames.
Use `set-face-attribute' for finer control of the font slant."
  (declare (advertised-calling-convention (face &optional frame) "29.1"))
  (interactive (list (read-face-name "Make which face italic"
                                     (face-at-point t))))
  (set-face-attribute face frame :slant 'italic))