I showed you my source code, pls respond
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.2 KiB

4 years ago
  1. #+TITLE: Trash
  2. #+AUTHOR: Christopher James Hayward
  3. #+EMAIL: chris@chrishayward.xyz
  4. #+PROPERTY: header-args:emacs-lisp :tangle trash.el :comments org
  5. #+PROPERTY: header-args :results silent :eval no-export :comments org
  6. #+OPTIONS: num:nil toc:nil todo:nil tasks:nil tags:nil
  7. #+OPTIONS: skip:nil author:nil email:nil creator:nil timestamp:nil
  8. Keep the system clean of debris.
  9. * Setup
  10. Despite having the stateful and immutable configuration seprated, and the entire project under version control, it's still good practice to make efforts to reduce the trash created by Emacs. The package ~no-littering~ helps us achieve just that.
  11. + Disable ~tooltip-mode~
  12. + Disable ~tool-bar-mode~
  13. + Disable ~menu-bar-mode~
  14. + Disable ~scroll-bar-mode~
  15. + Inhibit the startup message
  16. # + Defer ~native-comp~ compilation
  17. + Clear the scratch buffer instructions
  18. + Increase the garbage collector threshold
  19. #+begin_src emacs-lisp
  20. (use-package no-littering
  21. :custom (inhibit-startup-message t)
  22. (initial-scratch-message "")
  23. ;; (comp-deferred-compilation t)
  24. (gc-cons-threshold most-positive-fixnum)
  25. :config (tooltip-mode -1)
  26. (tool-bar-mode -1)
  27. (menu-bar-mode -1)
  28. (scroll-bar-mode -1))
  29. #+end_src
  30. * Footnotes