diff options
Diffstat (limited to 'config.org')
-rw-r--r-- | config.org | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/config.org b/config.org index 990fe85..fecfb96 100644 --- a/config.org +++ b/config.org | |||
@@ -237,22 +237,20 @@ I also want to switch themes between night and day. | |||
237 | (change-theme 'modus-operandi 'modus-vivendi)) | 237 | (change-theme 'modus-operandi 'modus-vivendi)) |
238 | #+end_src | 238 | #+end_src |
239 | 239 | ||
240 | By default, Emacs loads themes on top of each other. I don't want that, so let's apply this advice. | ||
241 | |||
242 | #+begin_src emacs-lisp | ||
243 | (defadvice load-theme | ||
244 | (before disable-before-load | ||
245 | (theme &optional no-confirm no-enable) activate) | ||
246 | (mapc 'disable-theme custom-enabled-themes)) | ||
247 | #+end_src | ||
248 | |||
249 | * Simplify GUI | 240 | * Simplify GUI |
250 | 241 | ||
242 | ** Remove unneeded GUI elements | ||
243 | |||
251 | #+begin_src emacs-lisp | 244 | #+begin_src emacs-lisp |
252 | (menu-bar-mode -1) | 245 | (menu-bar-mode -1) |
253 | (tool-bar-mode -1) | 246 | (tool-bar-mode -1) |
254 | (scroll-bar-mode -1) | 247 | (scroll-bar-mode -1) |
248 | (horizontal-scroll-bar-mode -1) | ||
249 | #+end_src | ||
255 | 250 | ||
251 | ** Word wrap and operate visually | ||
252 | |||
253 | #+begin_src emacs-lisp | ||
256 | (global-visual-line-mode 1) | 254 | (global-visual-line-mode 1) |
257 | #+end_src | 255 | #+end_src |
258 | 256 | ||