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 NOERROR)

Documentation

Make the font of FACE be bold, if possible.

FRAME nil or not specified means change face on all frames. Argument NOERROR is ignored and retained for compatibility. 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.
Argument NOERROR is ignored and retained for compatibility.
Use `set-face-attribute' for finer control of the font weight."
  (interactive (list (read-face-name "Make which face bold"
                                     (face-at-point t))))
  (set-face-attribute face frame :weight 'bold))