We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d89733 commit e54c7f8Copy full SHA for e54c7f8
.dir-locals.el
@@ -19,6 +19,17 @@
19
(require 'llbuild-project-settings))))
20
21
(c++-mode
22
+ ;; Load the llbuild style, if available.
23
+ ;;
24
+ ;; We have to do deferred loading of the style like this (instead of just
25
+ ;; setting the c-file-style variable, so that this works even when we are
26
+ ;; auto-loading llbuild-project-settings. Otherwise, that would fail since
27
+ ;; dir-locals evaluates the variables before it evaluates the eval list.
28
+ (eval .
29
+ (if (assoc "llbuild" c-style-alist)
30
+ (c-set-style "llbuild"))))
31
+
32
+ (c-mode
33
;; Load the llbuild style, if available.
34
;;
35
;; We have to do deferred loading of the style like this (instead of just
0 commit comments