Hi Bram,

I found that when an expression is evaluated using the expression
register i_CTRL-R_= the getcmdtype() function returns '='.  I attach
patch which documents that.

Best regards,
Marcin Szamotulski
diff -r 35ec194cce5b -r 98ba880f7ddf runtime/doc/eval.txt
--- a/runtime/doc/eval.txt	Fri Aug 29 17:45:32 2014 +0200
+++ b/runtime/doc/eval.txt	Sun Aug 31 13:55:04 2014 +0100
@@ -3346,6 +3346,7 @@
 		    ?	backward search command
 		    @	|input()| command
 		    -	|:insert| or |:append| command
+		    =	|i_CTRL-R_=|
 		Only works when editing the command line, thus requires use of
 		|c_CTRL-\_e| or |c_CTRL-R_=| or an expression mapping.
 		Returns an empty string otherwise.

Attachment: signature.asc
Description: Digital signature

Raspunde prin e-mail lui