Function: make-face-bold
make-face-bold is an interactive and byte-compiled function defined in
faces.el.gz.
Signature
(make-face-bold FACE &optional FRAME)
Documentation
Make the font of FACE be bold, if possible.
FRAME nil or not specified means change face on all frames.
Use set-face-attribute for finer control of the font weight.
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-bold (face &optional frame _noerror)
"Make the font of FACE be bold, if possible.
FRAME nil or not specified means change face on all frames.
Use `set-face-attribute' for finer control of the font weight."
(declare (advertised-calling-convention (face &optional frame) "29.1"))
(interactive (list (read-face-name "Make which face bold"
(face-at-point t))))
(set-face-attribute face frame :weight 'bold))