* lisp/startup.el (command-line-1): Use path-separator with -L.
* test/automated/Makefile.in (PATH_SEPARATOR): New, set by configure.
(EMACSOPT): Use PATH_SEPARATOR.
* doc/emacs/cmdargs.texi (Action Arguments): Use path-separator with -L.
* etc/NEWS: Related edit.
+2013-11-21 Glenn Morris <rgm@gnu.org>
+
+ * cmdargs.texi (Action Arguments): Use path-separator with -L.
+
2013-11-04 Glenn Morris <rgm@gnu.org>
* cmdargs.texi (Action Arguments): Mention that `-L :...' appends.
a @code{load-path} of the form @code{("/foo" "/bar" @dots{})}.
If @var{dir} begins with @samp{:}, Emacs removes the @samp{:} and
appends (rather than prepends) the remainder to @code{load-path}.
+(On MS Windows, use @samp{;} instead of @samp{:}; i.e., use
+the value of @code{path-separator}.)
@item -f @var{function}
@opindex -f
+++
** The -L option, which normally prepends its argument to load-path,
-will instead append, if the argument begins with `:'.
+will instead append, if the argument begins with `:' (or `;' on MS Windows;
+i.e., `path-separator').
\f
* Changes in Emacs 24.4
+2013-11-21 Glenn Morris <rgm@gnu.org>
+
+ * startup.el (command-line-1): Use path-separator with -L.
+
2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
* emacs-lisp/package.el (describe-package-1): Add package archive
;; -L :/foo adds /foo to the _end_ of load-path.
(let (append)
(if (string-match-p
- "\\`:"
+ (format "\\`%s" path-separator)
(setq tem (or argval (pop command-line-args-left))))
(setq tem (substring tem 1)
append t))
+2013-11-21 Glenn Morris <rgm@gnu.org>
+
+ * automated/Makefile.in (PATH_SEPARATOR): New, set by configure.
+ (EMACSOPT): Use PATH_SEPARATOR.
+
2013-11-18 Paul Eggert <eggert@cs.ucla.edu>
Improve API of recently-added bool vector functions (Bug#15912).
srcdir = @srcdir@
VPATH = $(srcdir)
+PATH_SEPARATOR = @PATH_SEPARATOR@
+
# We never change directory before running Emacs, so a relative file
# name is fine, and makes life easier. If we need to change
# directory, we can use emacs --chdir.
EMACS = ../../src/emacs
# Command line flags for Emacs.
-EMACSOPT = -batch --no-site-file --no-site-lisp -L :$(srcdir)
+# Apparently MSYS bash would convert "-L :" to "-L ;" anyway,
+# but we might as well be explicit.
+EMACSOPT = -batch --no-site-file --no-site-lisp -L $(PATH_SEPARATOR)$(srcdir)
# Extra flags to pass to the byte compiler.
BYTE_COMPILE_EXTRA_FLAGS =