Subject: bug#12517: 24.2; (file-name-directory "~") returns nil

From: Leo <[email-masked]>
Date: Wed, 26 Sep 2012 10:35:10 +0800

I was bitten by this corner case that (file-name-directory "~") returns
nil. I wonder if this is a bug/oversight?

Leo