Function: make-face-unitalic
make-face-unitalic is an interactive and byte-compiled function
defined in faces.el.gz.
Signature
(make-face-unitalic FACE &optional FRAME NOERROR)
Documentation
Make the font of FACE be non-italic, if possible.
FRAME nil or not specified means change face on all frames. Argument NOERROR is ignored and retained for compatibility.
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-unitalic (face &optional frame _noerror)
"Make the font of FACE be non-italic, if possible.
FRAME nil or not specified means change face on all frames.
Argument NOERROR is ignored and retained for compatibility."
(interactive (list (read-face-name "Make which face non-italic"
(face-at-point t))))
(set-face-attribute face frame :slant 'normal))