mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-06 19:28:29 +00:00
Make Emacs load 2x faster
This commit is contained in:
parent
1a9f82bc9f
commit
37ca1badaf
4 changed files with 109 additions and 53 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue