From: Glenn Morris Date: Fri, 7 Nov 2014 17:04:10 +0000 (-0800) Subject: * src/callproc.c (encode_current_directory): Fix thinko in previous. X-Git-Tag: emacs-24.4.90~256 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2a1f6afdfe72805724f06ca303e2146d93533285;p=emacs.git * src/callproc.c (encode_current_directory): Fix thinko in previous. --- diff --git a/src/callproc.c b/src/callproc.c index 488fae3644e..73424daaa0c 100644 --- a/src/callproc.c +++ b/src/callproc.c @@ -157,7 +157,7 @@ encode_current_directory (void) BVAR (current_buffer, directory)); /* Remove "/:" from dir. */ - if (Fstring_match (build_string ("^/:"), dir, Qnil)) + if (! NILP (Fstring_match (build_string ("^/:"), dir, Qnil))) dir = Fsubstring (dir, make_number (2), Qnil); RETURN_UNGCPRO (dir);