patch 9.0.1744: Dead code in open_cmdwin()
Commit:
https://github.com/vim/vim/commit/c3172fe9e4d3ea7f705b5fc02fdb0c4ceb3df8b9
Author: Sean Dewar <[email protected]>
Date: Sat Aug 19 13:23:50 2023 +0200
patch 9.0.1744: Dead code in open_cmdwin()
Problem: Dead code in open_cmdwin()
Solution: Remove it
closes: #12839
Signed-off-by: Christian Brabandt <[email protected]>
Co-authored-by: Sean Dewar <[email protected]>
diff --git a/src/ex_getln.c b/src/ex_getln.c
index 55b4632ac..dff7ec9ff 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -4613,11 +4613,6 @@ open_cmdwin(void)
stuffcharReadbuff(CAR);
}
}
- else if (cmdwin_result == K_XF2) // :qa typed
- {
- ccline.cmdbuff = vim_strsave((char_u *)"qa");
- cmdwin_result = CAR;
- }
else if (cmdwin_result == Ctrl_C)
{
// :q or :close, don't execute any command
diff --git a/src/version.c b/src/version.c
index 1ee8dd33a..c41db31b6 100644
--- a/src/version.c
+++ b/src/version.c
@@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1744,
/**/
1743,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/E1qXK9f-008wu0-C1%40256bit.org.