* src/callproc.c (encode_current_directory): Fix thinko in previous.

This commit is contained in:
Glenn Morris 2014-11-07 09:04:10 -08:00
parent 5282dec1ec
commit 2a1f6afdfe

View file

@ -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);