Browse Source

worgtest-init.el: fix cc-mode during batch evaluation

Achim Gratz 6 years ago
parent
commit
2b36b920c8
1 changed files with 5 additions and 0 deletions
  1. 5 0
      worgtest-init.el

+ 5 - 0
worgtest-init.el

@@ -5,6 +5,11 @@
 (require 'org)
 (require 'htmlize)
 
+;; to have things work correctly in batch-mode
+(require 'font-lock)
+(require 'cc-mode)
+(c-after-font-lock-init)
+
 (custom-set-variables
   ;; custom-set-variables was added by Custom.
   ;; If you edit it by hand, you could mess it up, so be careful.