Commit 2a1f6afd authored by Glenn Morris's avatar Glenn Morris
Browse files

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

parent 5282dec1
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment