about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-04-03 15:33:39 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-04-03 15:33:39 +0000
commite5d8a42249026d83c5135869e602fc413346ff0d (patch)
treeaa5fdddcb7637eb083c66b046605bdc8ef0651da
parent035aa2263bd46deb14b7bb4781bc1543c6b352a9 (diff)
downloadzsh-e5d8a42249026d83c5135869e602fc413346ff0d.tar.gz
zsh-e5d8a42249026d83c5135869e602fc413346ff0d.tar.xz
zsh-e5d8a42249026d83c5135869e602fc413346ff0d.zip
24787: reset region_highlight when finished editing command line
-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)