mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 03:44:55 +00:00 
			
		
		
		
	Fix typo in the setup of interpreter-mode-alist.
This commit is contained in:
		
							parent
							
								
									884916112e
								
							
						
					
					
						commit
						cf22c826a6
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -1149,7 +1149,7 @@ It is added to `interpreter-mode-alist' and `py-choose-shell'.
 | 
				
			||||||
	       ("python" . python-mode))))
 | 
						       ("python" . python-mode))))
 | 
				
			||||||
  (while modes
 | 
					  (while modes
 | 
				
			||||||
    (when (not (assoc (car modes) interpreter-mode-alist))
 | 
					    (when (not (assoc (car modes) interpreter-mode-alist))
 | 
				
			||||||
      (push modes interpreter-mode-alist))
 | 
					      (push (car modes) interpreter-mode-alist))
 | 
				
			||||||
    (setq modes (cdr modes))))
 | 
					    (setq modes (cdr modes))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(when (not (or (rassq 'python-mode auto-mode-alist)
 | 
					(when (not (or (rassq 'python-mode auto-mode-alist)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue