Fix an application of COMMAND-BUFFER
This commit is contained in:
		
							parent
							
								
									4c903444f2
								
							
						
					
					
						commit
						9e3d00028c
					
				| 
						 | 
				
			
			@ -582,7 +582,7 @@
 | 
			
		|||
	 (old-last-el (list-ref text last-pos))
 | 
			
		||||
	 (old-rest (sublist text 0 last-pos))
 | 
			
		||||
	 (before-ch (substring old-last-el 0 
 | 
			
		||||
			       (max 0 (- (buffer-pos-col command-buffer) 2))))
 | 
			
		||||
			       (max 0 (- (buffer-pos-col (command-buffer)) 2))))
 | 
			
		||||
	 (after-ch (substring old-last-el 
 | 
			
		||||
			      (max 0 (- (buffer-pos-col (command-buffer)) 2))
 | 
			
		||||
			      (string-length old-last-el)))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue