aboutsummaryrefslogtreecommitdiff
path: root/gui/conf
diff options
context:
space:
mode:
authorAdrian Kummerlaender2020-08-27 23:59:28 +0200
committerAdrian Kummerlaender2020-08-27 23:59:28 +0200
commit199b699e089ff00460ead86eeaa625c6bfa10f3d (patch)
treeb4b907df1fde8cf731ab0e7f1d6ef5689cf69863 /gui/conf
parent290c1c8116cd70cc248cf4bb9458611a16c5694a (diff)
downloadnixos_home-199b699e089ff00460ead86eeaa625c6bfa10f3d.tar
nixos_home-199b699e089ff00460ead86eeaa625c6bfa10f3d.tar.gz
nixos_home-199b699e089ff00460ead86eeaa625c6bfa10f3d.tar.bz2
nixos_home-199b699e089ff00460ead86eeaa625c6bfa10f3d.tar.lz
nixos_home-199b699e089ff00460ead86eeaa625c6bfa10f3d.tar.xz
nixos_home-199b699e089ff00460ead86eeaa625c6bfa10f3d.tar.zst
nixos_home-199b699e089ff00460ead86eeaa625c6bfa10f3d.zip
Remove Emacs font-lock trickery
This previously sped up rendering of large org files but now causes severe input lag for some reason. Still fighting to get a more current non-builtin org mode version to load…
Diffstat (limited to 'gui/conf')
-rw-r--r--gui/conf/init.el12
1 files changed, 3 insertions, 9 deletions
diff --git a/gui/conf/init.el b/gui/conf/init.el
index e355071..5f857df 100644
--- a/gui/conf/init.el
+++ b/gui/conf/init.el
@@ -1,6 +1,9 @@
(setq inhibit-startup-message t)
(setq initial-scratch-message nil)
+(require 'package)
+(package-initialize)
+
(setq backup-directory-alist `((".*" . "~/.emacs.d/backup")))
(setq custom-file "~/.emacs.d/custom.el")
@@ -38,12 +41,6 @@
(setq mouse-wheel-progressive-speed nil)
(setq fast-but-imprecise-scrolling t)
-(setq font-lock-support-mode 'jit-lock-mode)
-(setq jit-lock-stealth-time 16
- jit-lock-defer-contextually t
- jit-lock-stealth-nice 0.5)
-(setq-default font-lock-multiline t)
-
(setq-default indent-tabs-mode nil)
(setq-default tab-width 2)
(setq-default c-basic-offset 2)
@@ -56,8 +53,6 @@
(add-hook 'prog-mode-hook 'display-line-numbers-mode)
-(eval-when-compile (require 'use-package))
-
(set-face-attribute 'default nil :family "Iosevka")
(set-face-attribute 'fixed-pitch nil :family "Iosevka")
(set-face-attribute 'variable-pitch nil :family "Source Sans Pro" :height 1.1)
@@ -151,7 +146,6 @@
:ensure t)
(use-package org
- :ensure t
:custom
(org-adapt-indentation nil)
(org-startup-indented t)