Changeset 57a66fe for functions.c


Ignore:
Timestamp:
Jun 25, 2011, 2:12:43 AM (13 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Children:
35849fe
Parents:
7086a20
git-author:
Anders Kaseorg <andersk@mit.edu> (06/22/11 02:54:44)
git-committer:
Anders Kaseorg <andersk@mit.edu> (06/25/11 02:12:43)
Message:
history: Make owl_history_store also reset

It doesn’t make sense to run owl_history_store without
owl_history_reset (except in one case where we know the current
position is already the beginning and we’re about to
owl_history_set_partial), so let’s merge these functions.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    r58f4fb2 r57a66fe  
    18401840      owl_history *hist = owl_global_get_cmd_history(&g);
    18411841      owl_history_store(hist, buff);
    1842       owl_history_reset(hist);
    18431842      owl_function_command_norv(buff);
    18441843    } else {
Note: See TracChangeset for help on using the changeset viewer.