about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Src/Zle/zle_refresh.c5
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7b7e3b913..abb43b1fa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2008-04-03  Peter Stephenson  <pws@csr.com>
 
+	* 24787: Src/Zle/zle_main.c, Src/Zle/zle_refresh.c: reset
+	region_highlight when finished editing command line.
+
 	* 24786: Src/builtin.c, Src/init.c, Src/zle/zle_keymap.c,
 	Src/Zle/zle_main.c, Src/Zle/zle_misc.c, Src/Zle/zle_vi.c:
 	handle read -t properly in zle by passing down timeout
diff --git a/Src/Zle/zle_refresh.c b/Src/Zle/zle_refresh.c
index 34cadb0eb..cabefe7e7 100644
--- a/Src/Zle/zle_refresh.c
+++ b/Src/Zle/zle_refresh.c
@@ -434,6 +434,11 @@ get_region_highlight(UNUSED(Param pm))
 }
 
 
+/*
+ * The parameter system requires the pm argument, but this
+ * may be NULL if called directly.
+ */
+
 /**/
 void
 set_region_highlight(UNUSED(Param pm), char **aval)