Emacs: use `default-directory' if `buffer-file-name' is null.
This patch allows you to co-operate with Mercurial in dired buffer.
header = header-raw.tmpl
footer = ''
changeset = changeset-raw.tmpl
difflineplus = '#line#'
difflineminus = '#line#'
difflineat = '#line#'
diffline = '#line#'
changesetparent = '# parent: #node#'
changesetchild = '# child: #node#'
filenodelink = ''
filerevision = 'Content-Type: #mimetype#\nContent-Disposition: filename=#file#\n\n#raw#'
fileline = '#line#'
diffblock = '#lines#'
filediff = filediff-raw.tmpl
fileannotate = fileannotate-raw.tmpl
annotateline = '#author#@#rev#: #line#'