current-filename canonicalizes path, remove add-to-path
authorAndy Wingo <wingo@pobox.com>
Mon, 23 Jan 2012 10:13:12 +0000 (11:13 +0100)
committerAndy Wingo <wingo@pobox.com>
Mon, 23 Jan 2012 10:13:12 +0000 (11:13 +0100)
commit21ad60a1d29032ab5f2a9d798ced9d1a1a8420b2
treeb9b8b2cea036ba967720926795878b482775ae82
parent73c080f9c07a8eed713c0e62bdbdce31ac5bbf86
current-filename canonicalizes path, remove add-to-path

* module/ice-9/boot-9.scm (current-filename): Canonicalize the path, so
  that the result is independent of the current directory, and so
  that `dirname' can traverse up the file system, as in the
  add-to-load-path example.
  (add-to-path): Remove.  The eval-when semantics make this macro too
  tricky to explain -- people will start using it on other path-like
  things, in lexical contours, whereas it only really makes sense with
  load-like paths at the toplevel.

* doc/ref/api-evaluation.texi (Loading): Fix link to load-with-path
  docs, and remove add-to-path docs.
doc/ref/api-evaluation.texi
module/ice-9/boot-9.scm