Skip to content

Setting custom variables in .dir-local.el  #38

Description

@evb-gh

Trying to set custom variables in the .dir-local.el file instead of init.el or config.el.

Steps:

  1. Create dir test
  2. Initiate test dir with git init
  3. Add remote git url
  4. Create .dir-local.el file
  5. add git-auto-commit-mode custom variables:
((nil . ((eval git-auto-commit-mode 1)
           (gac-automatically-push-p . t)
           (gac-automatically-add-new-files-p . t))))
  1. Create files with text inside

After the steps above I expect all files to be staged and committed to git, but that doesn't happen.

My system: macOS 10.14.6 with default Doom emacs config

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions