summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Stephenson <p.w.stephenson@ntlworld.com>2015-01-16 20:35:41 +0000
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2015-01-16 20:35:41 +0000
commitaa503b592bc3468cbb768b2adb0852674628336d (patch)
tree86ab935848657c65d274864ed1f88cd92e92ad9a
parent0f60d182495109dfbb06e21c20f1a30d858aaaec (diff)
downloadzsh-aa503b592bc3468cbb768b2adb0852674628336d.tar.gz
zsh-aa503b592bc3468cbb768b2adb0852674628336d.zip
unposted: another dubious comment in hist.c fixed
-rw-r--r--ChangeLog2
-rw-r--r--Src/hist.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e77551678..1c391a544 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2015-01-16 Peter Stephenson <p.w.stephenson@ntlworld.com>
+ * unposted: Src/hist.c: fix another dubious comment.
+
* unposted: Src/hist.c: improve confusing comment in previous
commit.
diff --git a/Src/hist.c b/Src/hist.c
index 9d317c4b5..e5c48dbc1 100644
--- a/Src/hist.c
+++ b/Src/hist.c
@@ -270,6 +270,8 @@ hist_context_save(struct hist_stack *hs, int toplevel)
cmdsp = 0;
}
+/* restore history context */
+
/**/
void
hist_context_restore(const struct hist_stack *hs, int toplevel)
@@ -321,8 +323,6 @@ hist_in_word(int yesno)
histactive &= ~HA_INWORD;
}
-/* restore history context */
-
/* add a character to the current history word */
static void