From e38b710f296b302bb0f2efa887850253c95a7f1f Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 20 Sep 2018 14:16:21 -0400 Subject: [PATCH] Update docstrings for theme & font variables --- core/core-ui.el | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/core/core-ui.el b/core/core-ui.el index bd739b749..886f3669f 100644 --- a/core/core-ui.el +++ b/core/core-ui.el @@ -1,21 +1,29 @@ ;;; core-ui.el -*- lexical-binding: t; -*- (defvar doom-theme nil - "A symbol representing the color theme to load.") + "A symbol representing the Emacs theme to load at startup. + +This is changed when `load-theme' is used as well.") (defvar doom-font nil - "The default font to use. Expects a `font-spec'.") + "The default font to use. Expects either a `font-spec' or a XFT font string. + +Examples: + (setq doom-font (font-spec :family \"Fira Mono\" :size 12)) + (setq doom-font \"Terminus (TTF):pixelsize=12:antialias=off\")") (defvar doom-big-font nil - "The default large font to use when `doom-big-font-mode' is enabled. Expects a -`font-spec'.") + "The font to use when `doom-big-font-mode' is enabled. Expects either a +`font-spec' or a XFT font string. See `doom-font' for examples.") (defvar doom-variable-pitch-font nil - "The default font to use for variable-pitch text. Expects a `font-spec'.") + "The font to use for variable-pitch text. Expects either a `font-spec' +or a XFT font string. See `doom-font' for examples.") (defvar doom-unicode-font nil "Fallback font for unicode glyphs. Is ignored if :feature unicode is active. -Expects a `font-spec'.") +Expects either a `font-spec' or a XFT font string. See `doom-font' for +examples.") ;;