diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-03-02 15:03:59 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-03-02 15:03:59 -0800 |
commit | 0bed0ab5a308f5e72a01fa9bee76488556288862 (patch) | |
tree | 42b2e302ba259116557934166ca360e3e18bcccc /test/command | |
parent | a99423b59c78a1f64debad7340c5bbc0259e1215 (diff) | |
download | pandoc-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')
-rw-r--r-- | test/command/lua-pandoc-state.md | 2 |
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 |