hl-todo only in prog-mode, set gc-threshold to original value.
This commit is contained in:
parent
660218da8c
commit
a877ab0367
12
init.el
12
init.el
|
@ -1,5 +1,5 @@
|
|||
;;; init.el --- tastytea's Emacs init file.
|
||||
;;; Time-stamp: <2019-03-22 02:59:31 CET>
|
||||
;;; Time-stamp: <2019-03-22 04:08:34 CET>
|
||||
|
||||
;;; Commentary:
|
||||
;;; I am using this file with Emacs 26, but most of it will probably work with
|
||||
|
@ -257,9 +257,8 @@
|
|||
|
||||
;; Highlight TODO, FIXME, NOTE and so on.
|
||||
(use-package hl-todo
|
||||
:defer 2
|
||||
:config
|
||||
(global-hl-todo-mode t))
|
||||
:hook
|
||||
(prog-mode . hl-todo-mode))
|
||||
|
||||
;; Better commenting
|
||||
(use-package smart-comment
|
||||
|
@ -595,7 +594,8 @@
|
|||
(server-start))
|
||||
)))
|
||||
|
||||
;; Set garbage collection threshold to 2 MiB
|
||||
(setq gc-cons-threshold (* 2 1024 1024))
|
||||
;; Set garbage collection threshold to original value
|
||||
(setq gc-cons-threshold (car (get 'gc-cons-threshold 'standard-value)))
|
||||
|
||||
(provide 'init)
|
||||
;;; init.el ends here
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
127.0.0.1:51313 10599
|
||||
127.0.0.1:51313 29474
|
||||
phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh
|
Loading…
Reference in New Issue
Block a user