Function: set-border-color

set-border-color is an interactive and byte-compiled function defined in frame.el.gz.

Signature

(set-border-color COLOR-NAME)

Documentation

Set the color of the border of the selected frame to COLOR-NAME.

When called interactively, prompt for the name of the color to use. To get the frame's current border color, use frame-parameters.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/frame.el.gz
(defun set-border-color (color-name)
  "Set the color of the border of the selected frame to COLOR-NAME.
When called interactively, prompt for the name of the color to use.
To get the frame's current border color, use `frame-parameters'."
  (interactive (list (read-color "Border color: ")))
  (modify-frame-parameters (selected-frame)
			   (list (cons 'border-color color-name))))