Gosh this is annoying

This commit is contained in:
Benson Chu 2025-07-08 09:37:31 -05:00
parent 030f1135e1
commit a2692f2135
2 changed files with 9 additions and 9 deletions

View file

@ -53,7 +53,15 @@
(cl-position it llvm-font-lock-keywords)
(nth it llvm-font-lock-keywords)
(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)
;;; load-llvm-mode.el ends here

View file

@ -108,14 +108,6 @@
(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")
(lambda ()
(interactive)