mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-02-16 08:14:15 +00:00
Gosh this is annoying
This commit is contained in:
parent
030f1135e1
commit
a2692f2135
2 changed files with 9 additions and 9 deletions
|
|
@ -53,7 +53,15 @@
|
||||||
(cl-position it llvm-font-lock-keywords)
|
(cl-position it llvm-font-lock-keywords)
|
||||||
(nth it llvm-font-lock-keywords)
|
(nth it llvm-font-lock-keywords)
|
||||||
(setf it
|
(setf it
|
||||||
`(,(rx word-boundary (optional "-") )))))
|
`(,(rx word-boundary (optional "-") ))))
|
||||||
|
|
||||||
|
(pop c-mode-common-hook)
|
||||||
|
(add-hook 'c-mode-common-hook
|
||||||
|
(function
|
||||||
|
(lambda nil
|
||||||
|
(if (and buffer-file-name (string-match "llvm" buffer-file-name))
|
||||||
|
(progn
|
||||||
|
(c-set-style "llvm.org")))))))
|
||||||
|
|
||||||
(provide 'load-llvm-mode)
|
(provide 'load-llvm-mode)
|
||||||
;;; load-llvm-mode.el ends here
|
;;; load-llvm-mode.el ends here
|
||||||
|
|
|
||||||
|
|
@ -108,14 +108,6 @@
|
||||||
|
|
||||||
(add-to-list 'auto-mode-alist '("\\.gel" . c-mode))
|
(add-to-list 'auto-mode-alist '("\\.gel" . c-mode))
|
||||||
|
|
||||||
(pop c-mode-common-hook)
|
|
||||||
(add-hook 'c-mode-common-hook
|
|
||||||
(function
|
|
||||||
(lambda nil
|
|
||||||
(if (and buffer-file-name (string-match "llvm" buffer-file-name))
|
|
||||||
(progn
|
|
||||||
(c-set-style "llvm.org"))))))
|
|
||||||
|
|
||||||
(define-key *root-map* (kbd "u")
|
(define-key *root-map* (kbd "u")
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(interactive)
|
(interactive)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue