From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Problem around custom-push-theme
Date: Fri, 09 Sep 2005 01:33:12 -0400 [thread overview]
Message-ID: <87psrikdwe.fsf-monnier+emacs@gnu.org> (raw)
If a variable is set and we try to define a (not yet existing) face of the
same name with custom-set-face, it seems that custom-push-theme gets
confused and infers from boundp that the symbol is a valid face:
E.g. the following command:
src/emacs -q --no-site-file --eval "(progn (setq ott1 'o) (custom-set-faces '(ott1 nil)))"
leads to an error whose backtrace looks like:
Debugger entered--Lisp error: (error "Invalid face" ott1)
internal-get-lisp-face-attribute(ott1 :family nil)
face-attribute(ott1 :family nil)
custom-face-attributes-get(ott1 nil)
custom-push-theme(theme-face ott1 user set nil)
custom-theme-set-faces(user ...)
apply(custom-theme-set-faces user ...)
custom-set-faces(...)
-- Stefan
next reply other threads:[~2005-09-09 5:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-09 5:33 Stefan Monnier [this message]
2005-09-10 0:34 ` Problem around custom-push-theme Chong Yidong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87psrikdwe.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.