aboutsummaryrefslogtreecommitdiff
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-04-01 01:19:31 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-04-01 02:03:08 +0200
commitd5b94e3704ab5d3e464101451a2d08a9c43d3ed6 (patch)
treee1537f2615c1bcd923e18c1d021bf7ca43f515e9 /.dir-locals.el
parent481316f44fed66f2b3a425396bad4f931a8fc413 (diff)
downloadEpisodeBrowser-d5b94e3704ab5d3e464101451a2d08a9c43d3ed6.tar.gz
Add Prolog support to TAGS.
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
index 62e25f6..d9e0d06 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -1,2 +1,6 @@
((c-mode . ((flycheck-gcc-include-path . ("C:/Program Files/swipl/include"))
- (flycheck-gcc-definitions . ("UNICODE" "_UNICODE")))))
+ (flycheck-gcc-definitions . ("UNICODE" "_UNICODE"))))
+ (nil . ((eval . (progn
+ (require 'project)
+ (setq-local tags-table-list
+ (list (concat (car (project-roots (project-current))) "TAGS"))))))))