[pacman-dev] [PATCH 2/4] extract default settings to separate function