replace default-directory with buffer-file-name in 'cider' function