aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lispref/symbols.texi11
1 files changed, 10 insertions, 1 deletions
diff --git a/lispref/symbols.texi b/lispref/symbols.texi
index 290b57269ec..14f5c088606 100644
--- a/lispref/symbols.texi
+++ b/lispref/symbols.texi
@@ -521,7 +521,7 @@ The @code{put} function returns @var{value}.
521@node Other Plists 521@node Other Plists
522@subsection Property Lists Outside Symbols 522@subsection Property Lists Outside Symbols
523 523
524 These two functions are useful for manipulating property lists 524 These functions are useful for manipulating property lists
525that are stored in places other than symbols: 525that are stored in places other than symbols:
526 526
527@defun plist-get plist property 527@defun plist-get plist property
@@ -558,3 +558,12 @@ in the place where you got @var{plist}. For example,
558 (setplist symbol 558 (setplist symbol
559 (plist-put (symbol-plist symbol) prop value))) 559 (plist-put (symbol-plist symbol) prop value)))
560@end example 560@end example
561
562@defun plist-member plist property
563@tindex plist-member
564This returns non-@code{nil} if @var{plist} contains the given
565@var{property}. Unlike @code{plist-get}, this allows you to distinguish
566between a missing property and a property with the value @code{nil}.
567The value is actually the tail of @var{plist} whose @code{car} is
568@var{property}.
569@end defun