how to check if emacs in frame or in terminal?
问题 Based on this question : How to set emacsclient background as Emacs background? I need background only for frames, not for terminal and not for console. Here is how I'm trying to add fix for console (when (display-graphic-p) (tool-bar-mode -1) (scroll-bar-mode t) (require 'nyan-mode) (nyan-mode) (nyan-start-animation) (mouse-wheel-mode t) (setq default-frame-alist '((background-color . "#101416") (foreground-color . "#f6f3e8")) ) ) But with that I don't get background on emacsclient (even for