summaryrefslogtreecommitdiff
path: root/src/callproc.c
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2014-11-07 09:04:10 -0800
committerGlenn Morris <rgm@gnu.org>2014-11-07 09:04:10 -0800
commit2a1f6afdfe72805724f06ca303e2146d93533285 (patch)
tree34c29cfa5bea7a70fd847c8d33cfe52a40eadfe6 /src/callproc.c
parent5282dec1ecab229a8296887c15db949c90ad13ad (diff)
downloademacs-2a1f6afdfe72805724f06ca303e2146d93533285.tar.gz
* src/callproc.c (encode_current_directory): Fix thinko in previous.
Diffstat (limited to 'src/callproc.c')
-rw-r--r--src/callproc.c2
1 files changed, 1 insertions, 1 deletions
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);