diff options
Diffstat (limited to 'config.org')
-rw-r--r-- | config.org | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/config.org b/config.org index eae8fe0..c444638 100644 --- a/config.org +++ b/config.org | |||
@@ -154,27 +154,15 @@ doesn't work, I'll call git directly and clone the repo myself. | |||
154 | **** Tool bars and menu bars | 154 | **** Tool bars and menu bars |
155 | 155 | ||
156 | #+BEGIN_SRC emacs-lisp | 156 | #+BEGIN_SRC emacs-lisp |
157 | (cuss default-frame-alist | 157 | (menu-bar-mode -1) |
158 | '((tool-bar-lines . 0) | 158 | (tool-bar-mode -1) |
159 | (menu-bar-lines .0)) | ||
160 | "Setup the default frame alist.") | ||
161 | |||
162 | (menu-bar-mode -1) | ||
163 | (tool-bar-mode -1) | ||
164 | #+END_SRC | 159 | #+END_SRC |
165 | 160 | ||
166 | **** Scroll bars | 161 | **** Scroll bars |
167 | 162 | ||
168 | #+BEGIN_SRC emacs-lisp | 163 | #+BEGIN_SRC emacs-lisp |
169 | (add-to-list 'default-frame-alist | 164 | (scroll-bar-mode -1) |
170 | '(vertical-scroll-bars . nil)) | 165 | (horizontal-scroll-bar-mode -1) |
171 | |||
172 | (scroll-bar-mode -1) | ||
173 | |||
174 | (add-to-list 'default-frame-alist | ||
175 | '(horizontal-scroll-bars . nil)) | ||
176 | |||
177 | (horizontal-scroll-bar-mode -1) | ||
178 | #+END_SRC | 166 | #+END_SRC |
179 | 167 | ||
180 | *** Dialogs | 168 | *** Dialogs |
@@ -1299,8 +1287,6 @@ I’ve put org mode under Applications, as opposed to Writing, because it’s m | |||
1299 | :header-args: :tangle init.el | 1287 | :header-args: :tangle init.el |
1300 | :END: | 1288 | :END: |
1301 | 1289 | ||
1302 | I realized I didn’t need =early-init.el=, since it really only set =load-prefer-newer=. So I’ve set that here, and wrapped the actual loading of config in a =let*= form that speeds up init, and loads the newer of either =config.org= or =config.el=. | ||
1303 | |||
1304 | #+BEGIN_SRC emacs-lisp | 1290 | #+BEGIN_SRC emacs-lisp |
1305 | ;; init.el -*- lexical-binding: t -*- | 1291 | ;; init.el -*- lexical-binding: t -*- |
1306 | 1292 | ||
@@ -1320,6 +1306,19 @@ I realized I didn’t need =early-init.el=, since it really only set =load-prefe | |||
1320 | (org-babel-load-file conf-org))) | 1306 | (org-babel-load-file conf-org))) |
1321 | #+END_SRC | 1307 | #+END_SRC |
1322 | 1308 | ||
1309 | *** early-init.el | ||
1310 | :PROPERTIES: | ||
1311 | :header-args: :tangle early-init.el | ||
1312 | :END: | ||
1313 | |||
1314 | #+BEGIN_SRC emacs-lisp | ||
1315 | ;; I use `straight.el' instead of `package.el'. | ||
1316 | (setq package-enable-at-startup nil) | ||
1317 | |||
1318 | ;; Don't resize the frame when loading fonts | ||
1319 | (setq frame-inhibit-implied-resize t) | ||
1320 | #+end_src | ||
1321 | |||
1323 | ** Ease tangling and loading of Emacs' init | 1322 | ** Ease tangling and loading of Emacs' init |
1324 | 1323 | ||
1325 | #+BEGIN_SRC emacs-lisp | 1324 | #+BEGIN_SRC emacs-lisp |