From e1c8c477ff26063f1414228888fd5d5779db3f22 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 2 Apr 2024 18:23:33 +0100 Subject: [PATCH] Remove attempt to unset frame background in tty Not working properly for some reason. To come back to another time perhaps --- config/ui.org | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/config/ui.org b/config/ui.org index b6841f2..1f9ae27 100644 --- a/config/ui.org +++ b/config/ui.org @@ -14,23 +14,6 @@ (global-display-line-numbers-mode -1) (tool-bar-mode -1) - - - (defun my/tty-frame-no-background (frame) - "Remove background if frame `FRAME' is non-GUI. - Sets default face background to undefined if `display-graphic-p' - is nil. - Add to `after-make-frame-functions' hook for - compatibility with server/client mode." - (when (and (not (display-graphic-p)) - (not (daemonp))) - (set-face-background 'default "undefined"))) - - ;; Run for already-existing frames - ;; (mapc 'new-frame-setup (frame-list)) - ;; Run when a new frame is created - (add-hook 'after-make-frame-functions 'my/tty-frame-no-background) - (add-hook 'prog-mode-hook #'(lambda () (display-line-numbers-mode +1))) (use-package which-key