unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* The `face-attribute-relative-p' Example?
@ 2007-04-15 12:21 Herbert Euler
  2007-04-16  4:31 ` Richard Stallman
  0 siblings, 1 reply; 2+ messages in thread
From: Herbert Euler @ 2007-04-15 12:21 UTC (permalink / raw)
  To: emacs-devel

In the "Face Attribute Functions" section of Emacs Lisp Reference
Manual (info "(elisp) Attribute Functions"), `read-face-name' is used
as an example for `face-attribute-relative-p':

- Function: face-attribute-relative-p attribute value
     This function returns non-`nil' if VALUE, when used as the value
     of the face attribute ATTRIBUTE, is relative.  This means it would
     modify, rather than completely override, any value that comes from
     a subsequent face in the face list or that is inherited from
     another face.

     `unspecified' is a relative value for all attributes.  For
     `:height', floating point values are also relative.

     For example:

          (read-face-name "Describe face" "= `default' face" t)

     prompts with `Describe face (default = `default' face): '.

What is the relation between the example and the function?
If this example is correct, there should be a rationale at least,
i.m.o.

Regards,
Guanpeng Xu

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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

* Re: The `face-attribute-relative-p' Example?
  2007-04-15 12:21 The `face-attribute-relative-p' Example? Herbert Euler
@ 2007-04-16  4:31 ` Richard Stallman
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2007-04-16  4:31 UTC (permalink / raw)
  To: Herbert Euler; +Cc: emacs-devel

This text was garbled in editing.  I will fix it up.

Thanks.

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

end of thread, other threads:[~2007-04-16  4:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-15 12:21 The `face-attribute-relative-p' Example? Herbert Euler
2007-04-16  4:31 ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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