diff src/ex_getln.c @ 7336:4c5f53a60543 v7.4.973

commit https://github.com/vim/vim/commit/6f62fed349bf829da2adb02619dc9acba13c8ab6 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 17 14:04:24 2015 +0100 patch 7.4.973 Problem: When pasting on the command line line breaks result in literal <CR> characters. This makes pasting a long file name difficult. Solution: Skip the characters.
author Christian Brabandt <cb@256bit.org>
date Thu, 17 Dec 2015 14:15:04 +0100
parents 99476f1aaacd
children 1886f2863437
line wrap: on
line diff
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -3068,12 +3068,12 @@ restore_cmdline_alloc(p)
 #endif
 
 /*
- * paste a yank register into the command line.
- * used by CTRL-R command in command-line mode
+ * Paste a yank register into the command line.
+ * Used by CTRL-R command in command-line mode.
  * insert_reg() can't be used here, because special characters from the
  * register contents will be interpreted as commands.
  *
- * return FAIL for failure, OK otherwise
+ * Return FAIL for failure, OK otherwise.
  */
     static int
 cmdline_paste(regname, literally, remcr)