Subject: Cannot byte compile directory when name ending with .el

From: Johan Andersson <[email-masked]>
Date: Fri, 30 Aug 2013 11:42:34 +0200

Hi,

The function byte-recompile-directory cannot compile a directory ending
with ".el". Example error:

(byte-recompile-directory "/path/to/ecukes.el" 0 t)
Error: IO error reading /path/to/ecukes.el: Is a directory

If I rename the directory ecukes.el to ecukes it works fine.