in unix-like OSes, double slash is effectively taken to mean root.

e.g. /foo/bar//baz.el would mean /baz.el
This convention is somewhat rooted in unixes.

 Xah

On Wed, Mar 18, 2009 at 6:50 PM, Mike Mattie <codermattie@gmail.com> wrote:
Hi,

I have noticed that paths in Emacs are sensitive to double separators e.g:

(load /foo/bar/baz.el)  ;; works
(load /foo/bar//baz.el) ;; broken

The same behavior occurs with (find-file).

This doesn't seem like a good thing. Is there a good reason for
it that I am not aware of ?

GNU Emacs 23.0.91.1 (i686-pc-linux-gnu, X toolkit) of 2009-03-07 on localhost

Cheers,
Mike Mattie

--
GnuPG Key: B9012279 is available from HKP server pgp.mit.edu



--
 Xah
http://xahlee.org/