# HG changeset patch # User Dave Love # Date 975525171 0 # Node ID 4d3831f2899f3919b7c77c7cc05dc7a9d330a81b # Parent 4a60e687c9ab3a760d4387f31b044562ab67b984 plist-member diff -r 4a60e687c9ab -r 4d3831f2899f lispref/symbols.texi --- a/lispref/symbols.texi Wed Nov 29 18:47:42 2000 +0000 +++ b/lispref/symbols.texi Wed Nov 29 19:12:51 2000 +0000 @@ -521,7 +521,7 @@ @node Other Plists @subsection Property Lists Outside Symbols - These two functions are useful for manipulating property lists + These functions are useful for manipulating property lists that are stored in places other than symbols: @defun plist-get plist property @@ -558,3 +558,12 @@ (setplist symbol (plist-put (symbol-plist symbol) prop value))) @end example + +@defun plist-member plist property +@tindex plist-member +This returns non-@code{nil} if @var{plist} contains the given +@var{property}. Unlike @code{plist-get}, this allows you to distinguish +between a missing property and a property with the value @code{nil}. +The value is actually the tail of @var{plist} whose @code{car} is +@var{property}. +@end defun