Skip to main content

New answers tagged

1 vote

How to disable file-local variables but leave directory-local variables enabled?

See function inhibit-local-variables-p: Return non-nil if file local variables should be ignored. This checks the file (or buffer) name against inhibit-local-variables-regexps and inhibit-local-...
phils's user avatar
  • 51.8k
0 votes

org-refile-targets as a local variable

You can set org-refile-targets as a file-local variable. For example, the default value of org-refile-targets is ((org-agenda-files :level . 1)). Here's an Org mode file which changes that default ...
NickD's user avatar
  • 31.3k

Top 50 recent answers are included