tlh/workgroups.el — pull request #45 by juergenhoetzel (2013-05-28 10:25:08+00:00)
Title: Handle Dired(+) buffers

(buffer-file-name) evaluates to nil in Dired buffers: Use
default-directory (current directory) as fallback in Dired(+) buffers.