Function: daemonp
daemonp is a function defined in emacs.c.
Signature
(daemonp)
Documentation
Return non-nil if the current emacs process is a daemon.
If the daemon was given a name argument, return that name.
Source Code
// Defined in /usr/src/emacs/src/emacs.c
{
if (IS_DAEMON)
if (daemon_name)
return build_string (daemon_name);
else
return Qt;
else
return Qnil;
}