diff options
author | rafa_99 <raroma09@gmail.com> | 2021-09-24 18:39:25 +0100 |
---|---|---|
committer | rafa_99 <raroma09@gmail.com> | 2021-09-24 18:39:25 +0100 |
commit | 7947b3823de36feb13036ac282240a2c954337eb (patch) | |
tree | 7bfca0eb244ed7fc2abbcd9515d62115170080dd /src/command.c | |
parent | 837ff3653c1d1ef51b7981fa75e1176bda5291a8 (diff) |
Removed History and Last Opened History
Diffstat (limited to 'src/command.c')
-rw-r--r-- | src/command.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/command.c b/src/command.c index bb5b560..614c094 100644 --- a/src/command.c +++ b/src/command.c @@ -29,7 +29,6 @@ #include "bookmark.h" #endif #include "command.h" -#include "history.h" #include "util.h" #include "main.h" @@ -88,11 +87,10 @@ gboolean command_search(Client *c, const Arg *arg, bool commit) direction = c->state.search.direction; } - /* Only committed search strings adjust registers and are recorded in - * history, intermediate strings (while using incsearch) don't. */ + /* Only committed search strings adjust registers + * intermediate strings (while using incsearch) don't. */ if (commit) { if (query) { - history_add(c, HISTORY_SEARCH, query, NULL); vb_register_add(c, '/', query); } else { /* Committed search without string re-searches last string. */ |