summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-04-08 17:59:01 +0300
committerThanos Apollo <[email protected]>2024-04-08 17:59:01 +0300
commit9cfbaaad2da128a7b717cf0d7c3f82d106a64212 (patch)
tree6c32694a919af2dfb382299c6e293a4a25b74668
parent979e56bfe50c5de023a388a8e89d7e1e2417938d (diff)
emacs: Lower gc-cons-threshold
-rw-r--r--.emacs.d/init.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index ce77860..1b23409 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -40,7 +40,9 @@
browse-url-generic-program "firefox"
backup-directory-alist '((".*" . "~/.Trash"))
sentence-end-double-space t
- default-input-method "bulgarian-phonetic")
+ default-input-method "bulgarian-phonetic"
+ ;; fix emacs hangs
+ gc-cons-threshold 2000000)
(define-key global-map (kbd "M-<backspace>") 'backward-kill-sexp)
(define-key global-map (kbd "C-c L") 'display-line-numbers-mode)