* src/callproc.c (encode_current_directory): Fix thinko in previous.
This commit is contained in:
parent
5282dec1ec
commit
2a1f6afdfe
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue