summaryrefslogtreecommitdiff
path: root/src/actions.c
diff options
context:
space:
mode:
authorBernhard R. Link <brlink@debian.org>2008-06-10 15:40:50 +0200
committerShawn <sabetts@juicebox.(none)>2008-10-22 14:23:55 -0700
commit3737db1e6072c557748ba0ffcdca1e810b15009f (patch)
tree086728bed62b01cf799732dc43a75d78de13dbc7 /src/actions.c
parentd11f0735321bc725441fbc1dec04e363d07c987a (diff)
downloadratpoison-3737db1e6072c557748ba0ffcdca1e810b15009f.zip
move all HAVE_HISTORY into history.c
Diffstat (limited to 'src/actions.c')
-rw-r--r--src/actions.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/actions.c b/src/actions.c
index 221c1cd..66ea755 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -1681,7 +1681,6 @@ read_shellcmd (struct argspec *spec, struct sbuf *s, struct cmdarg **arg, const
cmdret *ret;
ret = read_string (spec, s, hist_SHELLCMD, exec_completions, arg);
-#ifdef HAVE_HISTORY
if (command_name && !ret) {
/* store for command history */
char *s = xmalloc (strlen(command_name) + strlen((*arg)->string) + 2);
@@ -1689,7 +1688,6 @@ read_shellcmd (struct argspec *spec, struct sbuf *s, struct cmdarg **arg, const
history_add (hist_COMMAND, s);
free(s);
}
-#endif
return ret;
}