vi: adjust conditional compilation of modifying_cmds
Since commit 74d565ff1 (vi: make context marks more like vi) the
list of commands that modify the text is no longer required when
FEATURE_VI_YANKMARK is enabled, only FEATURE_VI_DOT_CMD.
Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
			
			
This commit is contained in:
		
				
					committed by
					
						
						Denys Vlasenko
					
				
			
			
				
	
			
			
			
						parent
						
							7a8ceb4eb2
						
					
				
				
					commit
					3b9233f05f
				
			@@ -249,7 +249,7 @@ enum {
 | 
			
		||||
//#define ESC_CURSOR_UP   ESC"[A"
 | 
			
		||||
//#define ESC_CURSOR_DOWN "\n"
 | 
			
		||||
 | 
			
		||||
#if ENABLE_FEATURE_VI_DOT_CMD || ENABLE_FEATURE_VI_YANKMARK
 | 
			
		||||
#if ENABLE_FEATURE_VI_DOT_CMD
 | 
			
		||||
// cmds modifying text[]
 | 
			
		||||
static const char modifying_cmds[] ALIGN1 = "aAcCdDiIJoOpPrRs""xX<>~";
 | 
			
		||||
#endif
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user