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.

17 lines
638 B

2 years ago
  1. (setq gc-cons-threshold most-positive-fixnum)
  2. (defvar default-file-name-handler-alist file-name-handler-alist)
  3. (setq file-name-handler-alist nil)
  4. (add-hook 'emacs-startup-hook
  5. (lambda ()
  6. (setq file-name-handler-alist default-file-name-handler-alist)) 100)
  7. ;; Resizing the emacs frame can be a terriblu expensive part of changing the font.
  8. ;; By inhibiting this, we easily hale startup times with fonts that are larger
  9. ;; than the system default.
  10. (setq frame-inhibit-implied-resize t)
  11. (menu-bar-mode -1) ;; disable menu bar
  12. (tool-bar-mode -1) ;; disable tool bar
  13. (scroll-bar-mode -1) ;; disable scroll bar