mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	(py-shell): cope with make-comint instead of make-shell
This commit is contained in:
		
							parent
							
								
									f74f63a43f
								
							
						
					
					
						commit
						6e98f3350f
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -563,7 +563,8 @@ filter." | ||||||
|     (progn |     (progn | ||||||
|       (require 'shell) |       (require 'shell) | ||||||
|       (switch-to-buffer-other-window |       (switch-to-buffer-other-window | ||||||
|        (make-shell "Python" py-python-command)))) |        (apply (if (boundp 'make-shell) 'make-shell 'make-comint) | ||||||
|  | 	      "Python" py-python-command nil)))) | ||||||
|   (make-local-variable 'shell-prompt-pattern) |   (make-local-variable 'shell-prompt-pattern) | ||||||
|   (setq shell-prompt-pattern "^>>> \\|^\\.\\.\\. ") |   (setq shell-prompt-pattern "^>>> \\|^\\.\\.\\. ") | ||||||
|   (set-process-filter (get-buffer-process (current-buffer)) |   (set-process-filter (get-buffer-process (current-buffer)) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Barry Warsaw
						Barry Warsaw