Bruce-Connor/smart-mode-line — pull request #34 by tsdh (2013-11-29 07:37:40+00:00)
Title: Fix sml/get-directory.

Remove the assumption that default-directory is always the parent
of (buffer-file-name) but use (file-name-directory BFN) instead. For
example, that assumption was wrong in Gnus draft mail buffers.

This fixes issue #33.