|
From: | Stefan Monnier |
Subject: | Re: `file-attribute' accessors |
Date: | Mon, 09 Apr 2012 21:50:01 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) |
> (defun file-attribute-size (elem) > ... > (if (stringp file) > (nth 7 (file-attributes elem)) > (nth 7 elem))) You mean (nth 7 (if (stringp file) ...)) > What do you think? I'm not sure I like it. But if we do go this route, then we could name it `file-size'. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |