11

I want to know if emacs is running as a daemon, so I can load some parts of my configuration according, I want to know this from within emacs.

1
  • 2
    "$ ps aux" shows if there is a daemon. Commented Nov 3, 2014 at 19:49

1 Answer 1

12

Simply use (daemonp) which will return t if emacs is running as a daemon.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.