Used `default-directory` as fallback if `buffer-file-name` us not set.
Used `(buffer-name)` as fallback if `buffer-file-name` us not set.