diff options
Diffstat (limited to 'Src/hist.c')
-rw-r--r-- | Src/hist.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Src/hist.c b/Src/hist.c index 42cae030c..6ac581fda 100644 --- a/Src/hist.c +++ b/Src/hist.c @@ -339,6 +339,13 @@ hist_in_word(int yesno) histactive &= ~HA_INWORD; } +/**/ +int +hist_is_in_word(void) +{ + return (histactive & HA_INWORD) ? 1 : 0; +} + /* add a character to the current history word */ static void |