From 0bed0ab5a308f5e72a01fa9bee76488556288862 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 2 Mar 2019 15:03:59 -0800 Subject: 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. --- test/command/lua-pandoc-state.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/command') 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 -- cgit v1.2.3