Closed bommbo closed 1 year ago
Example: (Set the background to "red")
$ emacs -Q --eval "\ (progn (require 'seq) (setq user-emacs-directory (car (seq-filter #'file-exists-p (list (format \"~/.emacs.d/%s/\" emacs-version) (format \"~/.emacs.d/%s/\" emacs-major-version) \"~/.emacs.d/\")))) (setq package-user-dir (concat user-emacs-directory \"elpa/\")) (package-initialize) ;; Add addtional local package here: (add-to-list 'load-path \"~/repos/emacs-lsp-bridge\") (add-to-list 'load-path \"~/repos/emacs-acm-terminal\") (require 'yasnippet) (yas-global-mode 1) (require 'lsp-bridge) (set-face-background 'acm-default-face \"blue\") (global-lsp-bridge-mode) (unless (display-graphic-p) (with-eval-after-load 'acm (require 'acm-terminal) (set-face-background 'acm-terminal-default-face \"red\"))) ;; <<-- set bg here (add-hook 'emacs-startup-hook (lambda () (load-theme 'tango-dark) (switch-to-buffer \"*scratch*\") (lsp-bridge-mode 1))))" -nw
Example: (Set the background to "red")