summaryrefslogtreecommitdiffhomepage
path: root/init.org
diff options
context:
space:
mode:
Diffstat (limited to 'init.org')
-rw-r--r--init.org19
1 files changed, 12 insertions, 7 deletions
diff --git a/init.org b/init.org
index 1295068..2660395 100644
--- a/init.org
+++ b/init.org
@@ -592,7 +592,8 @@
(if (jao-colors-scheme-dark-p)
(setq jao-minibuffer-active-buffer-line-color "azure4"
jao-minibuffer-inactive-buffer-line-color "grey25")
- (setq jao-minibuffer-active-buffer-line-color "burlywood3"))
+ (setq jao-minibuffer-active-buffer-line-color "burlywood3"
+ jao-minibuffer-inactive-buffer-line-color "grey25"))
:commands (jao-minibuffer-add-variable
jao-minibuffer-refresh
jao-minibuffer-add-mode-line))
@@ -601,7 +602,9 @@
(require 'mb-depth)
(minibuffer-depth-indicate-mode 1)
- (when window-system (jao-minibuffer-add-mode-line 90))
+ (when window-system
+ (add-hook 'after-init-hook
+ (lambda ()) (jao-minibuffer-add-mode-line 90)))
#+end_src
*** Time display
#+BEGIN_SRC emacs-lisp
@@ -1621,13 +1624,15 @@
(use-package pdf-tools
:ensure t
:demand t
+ :init
+ (add-hook 'after-init-hook
+ (lambda ()
+ (setq pdf-view-midnight-colors
+ (cons (frame-parameter nil 'foreground-color)
+ (frame-parameter nil 'background-color)))))
:config
(pdf-tools-install)
- (setq pdf-view-midnight-colors
- (cons (frame-parameter nil 'foreground-color)
- (frame-parameter nil 'background-color)))
-
(dolist (f '(pdf-view-scroll-up-or-next-page
pdf-view-scroll-down-or-previous-page
pdf-view-previous-line-or-previous-page
@@ -1996,7 +2001,7 @@
(put cmd 'repeat-map 'diff-hl-command-map))
diff-hl-command-map)
(add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh)
- (diff-hl-margin-mode 1))
+ (when (jao-colors-scheme-dark-p) (diff-hl-margin-mode 1)))
(global-diff-hl-mode 1)