I use emacs gui in daemon mode and also in standalone terminal mode. There is a package that I just want to use when I'm using emacs in terminal mode.
the problem is that I can't use (display-graphic-p)
because when I run emacs --daemon
the initialization system thinks that I have no graphic-display, but I'll have when I connect the emacsclient to the daemon.
I wish I had access to a function like this:
(if (emacs-initiating-in-daemon-mode)
(my-setup-for-gui)
(my-setup-for-terminal))
Is that possible?