about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2020-11-24 08:32:07 -0600
committerCase Duckworth2020-11-24 08:32:07 -0600
commit987aea24ef70cd99fb393dc493a8da7790989525 (patch)
tree1c9d0bda91c2e680d16e452c2ea4630940aa0f4c
parentWhitespace? I'm guessing (diff)
downloademacs-987aea24ef70cd99fb393dc493a8da7790989525.tar.gz
emacs-987aea24ef70cd99fb393dc493a8da7790989525.zip
Remove advice on theme loading
-rw-r--r--config.org16
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
240By 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