From 8d150f1ed3202e556aca443f317df00a189d2ce3 Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Sat, 17 Aug 2024 18:35:14 -0400 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cd7e04b..aff7ff5 100644 --- a/README.md +++ b/README.md @@ -74,14 +74,14 @@ The `dir-config` package allows for automatic application of specific configurat ### How does .dir-config.el files compare to .dir-locals.el? -Here is the difference between using `.dir-locals.el` (built-in) and the `.dir-config.el` (this package) files: +Here is the difference between using `.dir-locals.el` and the `.dir-config.el` files: - `.dir-locals.el` (built-in): - Primarily used for setting per-directory local variables. - The syntax of `.dir-locals.el` relies heavily on nested lists and alist structures. This can quickly become **difficult to read and maintain**, especially for more complex configurations. - The configuration in `dir-locals.el` is inherently static unless dynamic behavior is explicitly added using `eval`. -- `.dir-config.el` (The `dir-config` package): +- `.dir-config.el` (this package): - Provides more extensive capabilities by loading and evaluating Emacs Lisp code for tasks such as environment configuration, keybindings, and other complex setup processes. - Better suited for more complex, project-specific setups where additional customization and dynamic behavior are required. - `.dir-config.el` files are easier to maintain, as they use standard Elisp code instead of nested alists.