10

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
    "$ ps aux" shows if there is a daemon. – Vivian Maya Nov 3 '14 at 19:49
9

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, privacy policy and cookie policy

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