help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

set-face-attribute: apparent bug or doc error


From: ken
Subject: set-face-attribute: apparent bug or doc error
Date: Wed, 26 Aug 2020 08:34:13 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0

Executing

(set-face-attribute 'default nil :family "alegreya" :foundry "misc"
:slant normal :weight "medium" :height 258 :width "normal")

yields error:

Debugger entered--Lisp error: (void-variable normal)
  (set-face-attribute 'default nil :family "alegreya" :foundry "misc"
:slant normal :weight "medium" :height 258 :width "normal")
....

The doc string, however, says:

‘:slant’

VALUE specifies the slant of the font to use.  It must be one of the
symbols ‘italic’, ‘oblique’, ‘normal’, ‘reverse-italic’, or
‘reverse-oblique’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]