diff --git a/oni-core.el b/oni-core.el index 9f76fbb..d678cfe 100644 --- a/oni-core.el +++ b/oni-core.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2023.0814.145257 +;; Version: 2023.0911.210534 ;; Package-Requires: (oni-data-dir oni-embrace oni-hydra expand-region multiple-cursors gcmh diminish ws-butler which-key insert-char-preview mixed-pitch ace-window vertico marginalia orderless consult embark docstr mini-frame) ;; This program is free software; you can redistribute it and/or modify @@ -539,5 +539,11 @@ which normally have their errors suppressed." (goto-char (match-end 0)) (buffer-substring-no-properties (point) (line-end-position))))))) +(if (boundp 'safe-local-variable-directories) + (setq safe-local-variable-directories + (cl-delete-if + (lambda (d) (string-match-p (rx "/" (or "." ".." "foreign") eos) d)) + (directory-files "~/projects/" t)))) + (provide 'oni-core) ;;; oni-core.el ends here