unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* set-face-attribute: apparent bug or doc error
@ 2020-08-26 12:34 ken
  2020-08-26 12:41 ` Eli Zaretskii
  2020-08-26 12:58 ` Tassilo Horn
  0 siblings, 2 replies; 4+ messages in thread
From: ken @ 2020-08-26 12:34 UTC (permalink / raw)
  To: help-gnu-emacs

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’.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-08-26 19:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-26 12:34 set-face-attribute: apparent bug or doc error ken
2020-08-26 12:41 ` Eli Zaretskii
2020-08-26 12:58 ` Tassilo Horn
2020-08-26 19:19   ` ken

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).