aboutsummaryrefslogtreecommitdiff
path: root/test/command/lua-pandoc-state.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-03-02 15:03:59 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2019-03-02 15:03:59 -0800
commit0bed0ab5a308f5e72a01fa9bee76488556288862 (patch)
tree42b2e302ba259116557934166ca360e3e18bcccc /test/command/lua-pandoc-state.md
parenta99423b59c78a1f64debad7340c5bbc0259e1215 (diff)
downloadpandoc-0bed0ab5a308f5e72a01fa9bee76488556288862.tar.gz
Use XDG data directory for user data directory.
Instead of `$HOME/.pandoc`, the default user data directory is now `$XDG_DATA_HOME/pandoc`, where `XDG_DATA_HOME` defaults to `$HOME/.local/share` but can be overridden by setting the environment variable. If this directory is missing, then `$HOME/.pandoc` is searched instead, for backwards compatibility. However, we recommend moving local pandoc data files from `$HOME/.pandoc` to `$HOME/.local/share/pandoc`. On Windows the default user data directory remains the same. Closes #3582.
Diffstat (limited to 'test/command/lua-pandoc-state.md')
-rw-r--r--test/command/lua-pandoc-state.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/command/lua-pandoc-state.md b/test/command/lua-pandoc-state.md
index 33045f64a..2aece619b 100644
--- a/test/command/lua-pandoc-state.md
+++ b/test/command/lua-pandoc-state.md
@@ -1,5 +1,5 @@
```
-% pandoc --lua-filter=command/lua-pandoc-state.lua
+% pandoc --lua-filter=command/lua-pandoc-state.lua --data-dir=foo
Hello
^D
# input files: 0