Function: set-face-bold

set-face-bold is a byte-compiled function defined in faces.el.gz.

Signature

(set-face-bold FACE BOLD-P &optional FRAME)

Documentation

Specify whether face FACE is bold.

BOLD-P non-nil means FACE should explicitly display bold. BOLD-P nil means FACE should explicitly display non-bold. FRAME nil or not specified means change face on all frames. Use set-face-attribute or modify-face for finer control.

View in manual

Aliases

set-face-bold-p (obsolete since 24.4)

Source Code

;; Defined in /usr/src/emacs/lisp/faces.el.gz
(defun set-face-bold (face bold-p &optional frame)
  "Specify whether face FACE is bold.
BOLD-P non-nil means FACE should explicitly display bold.
BOLD-P nil means FACE should explicitly display non-bold.
FRAME nil or not specified means change face on all frames.
Use `set-face-attribute' or `modify-face' for finer control."
  (if (null bold-p)
      (make-face-unbold face frame)
    (make-face-bold face frame)))