When dragging in an org snippet with the latest emacs and org-mode,
the buffer-file-name returns nil.  Added extend-dnd-buffer-file-name
to get the true buffer file name for calculation...