summary refs log tree commit diff stats
path: root/early-init.el
diff options
context:
space:
mode:
authorCase Duckworth2021-03-01 16:57:10 -0600
committerCase Duckworth2021-03-01 16:57:10 -0600
commit65a29d4ad78bbc4c661506e19741f4a24544c732 (patch)
treee6bc2b87f1baf5216a73e65b3d3c2d0d7f3b0b7a /early-init.el
parentShow magit in the same window as the file (diff)
downloademacs-65a29d4ad78bbc4c661506e19741f4a24544c732.tar.gz
emacs-65a29d4ad78bbc4c661506e19741f4a24544c732.zip
Add mode-line-format
Can remove mode-line-mule-info because everything /should/ be UTF-8-Unix
Diffstat (limited to 'early-init.el')
-rw-r--r--early-init.el23
1 files changed, 19 insertions, 4 deletions
diff --git a/early-init.el b/early-init.el index 57bc7f2..1bf78eb 100644 --- a/early-init.el +++ b/early-init.el
@@ -97,7 +97,22 @@
97 mode-line-client 97 mode-line-client
98 mode-line-modified 98 mode-line-modified
99 " - GNU Emacs") 99 " - GNU Emacs")
100 ) 100
101 mode-line-format ; Mode line
102 `("%e"
103 mode-line-front-space
104 ;; mode-line-mule-info
105 mode-line-client
106 mode-line-modified
107 mode-line-remote
108 mode-line-frame-identification
109 mode-line-buffer-identification " "
110 mode-line-position
111 (vc-mode vc-mode) " "
112 minions-mode-line-modes
113 mode-line-misc-info
114 mode-line-end-spaces
115 ))
101 116
102;; Set the rest of the fonts after initiation 117;; Set the rest of the fonts after initiation
103(defun hook--setup-fonts () 118(defun hook--setup-fonts ()
@@ -164,8 +179,9 @@
164 [#b00000000 179 [#b00000000
165 #b00101010 180 #b00101010
166 #b00101010 181 #b00101010
167 #b00000000])) 182 #b00000000])
168(add-hook 'after-init-hook #'hook--setup-fringe-bitmaps) 183 (remove-function after-focus-change-function #'hook--setup-fringe-bitmaps))
184(add-function :after after-focus-change-function #'hook--setup-fringe-bitmaps)
169 185
170;; Resize like it's 2021 186;; Resize like it's 2021
171(setq-default frame-inhibit-implied-resize t 187(setq-default frame-inhibit-implied-resize t
@@ -229,7 +245,6 @@
229 (eval-print-last-sexp))) 245 (eval-print-last-sexp)))
230 (load bootstrap-file nil 'nomessage)) 246 (load bootstrap-file nil 'nomessage))
231 247
232
233;; `use-package' 248;; `use-package'
234 249
235(straight-use-package 'use-package) 250(straight-use-package 'use-package)