mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
Address bad performance issue on Windows.
https://github.com/seagle0128/doom-modeline/issues/37
This commit is contained in:
parent
36e081f912
commit
b755888f8b
1 changed files with 4 additions and 0 deletions
|
@ -112,6 +112,10 @@ The icons may not be showed correctly in terminal and on Windows.")
|
|||
;; compatibility
|
||||
;;
|
||||
|
||||
;; Don’t compact font caches during GC.
|
||||
(if (eq system-type 'windows-nt)
|
||||
(setq inhibit-compacting-font-caches t))
|
||||
|
||||
;;`file-local-name' is introduced in 25.2.2.
|
||||
(unless (fboundp 'file-local-name)
|
||||
(defun file-local-name (file)
|
||||
|
|
Loading…
Reference in a new issue