summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-10-11 11:02:17 -0700
committerFranck Cuny <franck@fcuny.net>2021-10-11 11:02:17 -0700
commitd5cb19e4cf6809649f1950e86c7fab2b31402fd3 (patch)
tree6ea1d08ade930a825e8c92fe36dde3918e92037e /emacs
parentorg: active timestamp in drawer for note/journal (diff)
downloademacs.d-d5cb19e4cf6809649f1950e86c7fab2b31402fd3.tar.gz
emacs: strict regex for PROJECT file
Since on macOS the filesystem is not case insensitive, it means that a
file named `projects.org` will be associated with YAML if the regexp is
only `PROJECT`. Making the regexp more strict fixes this issue.
Diffstat (limited to '')
-rw-r--r--emacs/custom/fcuny-conf.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/custom/fcuny-conf.el b/emacs/custom/fcuny-conf.el
index 3952c87..2909510 100644
--- a/emacs/custom/fcuny-conf.el
+++ b/emacs/custom/fcuny-conf.el
@@ -7,7 +7,7 @@
 (use-package yaml-mode
   ;; At Twitter, we use PROJECT files to define a project and the
   ;; format is YAML
-  :mode (("PROJECT" . yaml-mode))
+  :mode (("PROJECT\\'" . yaml-mode))
   :ensure t)
 
 (use-package js-mode