Function: cdr-safe
cdr-safe is a function defined in data.c.
Signature
(cdr-safe OBJECT)
Documentation
Return the cdr of OBJECT if it is a cons cell, or else nil.
Other relevant functions are documented in the list group.
Probably introduced at or before Emacs version 14.
Shortdoc
;; list
(cdr-safe '(one two three))
=> (two three)
Aliases
Source Code
// Defined in /usr/src/emacs/src/data.c
{
return CDR_SAFE (object);
}