Changeset 83a079a for functions.c


Ignore:
Timestamp:
Jun 25, 2011, 3:24:36 AM (13 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.10, release-1.8, release-1.9
Children:
ad37b39
Parents:
9923144
git-author:
Anders Kaseorg <andersk@mit.edu> (06/22/11 02:54:44)
git-committer:
Anders Kaseorg <andersk@mit.edu> (06/25/11 03:24:36)
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

    r8b293ea r83a079a  
    18421842      owl_history *hist = owl_global_get_cmd_history(&g);
    18431843      owl_history_store(hist, buff);
    1844       owl_history_reset(hist);
    18451844      owl_function_command_norv(buff);
    18461845    } else {
Note: See TracChangeset for help on using the changeset viewer.