From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.help Subject: Re: defface not defining a face? Date: Sun, 9 Mar 2014 19:16:22 +0100 Message-ID: References: <87ha771bye.fsf@yun.yagibdah.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1394389026 15770 80.91.229.3 (9 Mar 2014 18:17:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Mar 2014 18:17:06 +0000 (UTC) To: Emacs Help List Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 09 19:17:16 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WMiHj-0004eH-H9 for geh-help-gnu-emacs@m.gmane.org; Sun, 09 Mar 2014 19:17:15 +0100 Original-Received: from localhost ([::1]:45066 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMiHj-0000dG-2S for geh-help-gnu-emacs@m.gmane.org; Sun, 09 Mar 2014 14:17:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40588) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMiHX-0000cQ-KU for help-gnu-emacs@gnu.org; Sun, 09 Mar 2014 14:17:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WMiHW-0001Vf-PB for help-gnu-emacs@gnu.org; Sun, 09 Mar 2014 14:17:03 -0400 Original-Received: from mail-yk0-x231.google.com ([2607:f8b0:4002:c07::231]:63143) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMiHW-0001VX-KX for help-gnu-emacs@gnu.org; Sun, 09 Mar 2014 14:17:02 -0400 Original-Received: by mail-yk0-f177.google.com with SMTP id q200so16729476ykb.8 for ; Sun, 09 Mar 2014 11:17:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=0pV0kt5xqi85gpDLh/9KNtgxOykha4bJ4DlJIsX7dCU=; b=llRtUpjtR7wMNq+WCs4put4RmTlT3Uv5OT/or2dBzdGYYLh4tMPZYAa+OC4QR/dXN/ 8EJy5jfDTMSmxLqKsBuhWBkmM0IXU1WnwqJWyf3L4kfmd5CkNmqvV8dZSwhLKybMNTzJ R4t/xBHz/IB+qXp1RY/QW/0RwcnjcwPOeDS1eWB7QMLY3bj0Onhuk0R7cYvAP+9B6IQ6 RSJsRKt/oN1TqzzVk4QGax3kcrNbrczxpqxGouk/vbOqodjhCSH23neId+Kb3LkX47dh oLYaWEPVKq7Zatu8UgeqQv3vSj7XnELFYsns8VJSHK0tkwbKLRx2wrFxPvTJWTYoaya/ Y6vg== X-Received: by 10.236.130.138 with SMTP id k10mr38861328yhi.31.1394389022078; Sun, 09 Mar 2014 11:17:02 -0700 (PDT) Original-Received: by 10.170.163.3 with HTTP; Sun, 9 Mar 2014 11:16:22 -0700 (PDT) In-Reply-To: <87ha771bye.fsf@yun.yagibdah.de> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4002:c07::231 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:96348 Archived-At: On Sun, Mar 9, 2014 at 7:08 PM, lee wrote: > (defface lsl-global-variable > '((((background dark)) (:background "pink" :foreground "black")) > (t (:background "pink"))) > "Face to highlight global variables" > :group 'lsl-faces) > Apparently the face is not defined. How come? Oh, yes, it is defined. Try (facep 'lsl-global-variable) But a face is not a variable, so (boundp 'lsl-global-variable) is nil. J