Fix conditionally-turn-on-pandoc when in temp file

Fix conditionally-turn-on-pandoc function when calling from temp file and `(buffer-file-name) returns nil.
Merge pull request #9 from ptrv/patch-1

Fix conditionally-turn-on-pandoc when in temp file