mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-21 20:08:30 +00:00
Initial import
This commit is contained in:
commit
c91b3c5006
14915 changed files with 590219 additions and 0 deletions
11
tool/emacs/optinfo-mode.el
Normal file
11
tool/emacs/optinfo-mode.el
Normal file
|
@ -0,0 +1,11 @@
|
|||
(require 'compile)
|
||||
|
||||
(define-derived-mode optinfo-mode compilation-mode "Optimization Info"
|
||||
(let ((root (locate-dominating-file (buffer-file-name) "Makefile")))
|
||||
(when root
|
||||
(setq-local default-directory root))))
|
||||
|
||||
(auto-compression-mode t)
|
||||
(add-to-list 'auto-mode-alist '("\\.optinfo\\(\\|\\.gz\\)$" . optinfo-mode))
|
||||
|
||||
(provide 'optinfo-mode)
|
Loading…
Add table
Add a link
Reference in a new issue