diff options
author | Franck Cuny <franck@fcuny.net> | 2021-10-11 11:02:17 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2021-10-11 11:02:17 -0700 |
commit | d5cb19e4cf6809649f1950e86c7fab2b31402fd3 (patch) | |
tree | 6ea1d08ade930a825e8c92fe36dde3918e92037e /emacs/custom | |
parent | org: active timestamp in drawer for note/journal (diff) | |
download | emacs.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 'emacs/custom')
-rw-r--r-- | emacs/custom/fcuny-conf.el | 2 |
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 |