Make Emacs load 2x faster

This commit is contained in:
Justine Tunney 2024-08-23 20:08:05 -07:00
parent 1a9f82bc9f
commit 37ca1badaf
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
4 changed files with 109 additions and 53 deletions

View file

@ -336,9 +336,10 @@
(set (make-local-variable 'indent-tabs-mode) t)
(set (make-local-variable 'tab-width) 8))
(progn
(add-hook 'asm-mode-hook 'cosmo-asm-supplemental-hook)
(setq asm-font-lock-keywords cosmo-asm-font-lock-keywords))
(eval-after-load 'asm-mode
'(progn
(add-hook 'asm-mode-hook 'cosmo-asm-supplemental-hook)
(setq asm-font-lock-keywords cosmo-asm-font-lock-keywords)))
;; Make -*-unix-assembly-*- mode line work correctly like GitHub.
(define-derived-mode unix-assembly-mode asm-mode "UNIX Assembly")