Rewrite pandoc-set-output-formats

Use of let is unnecessary.