mirror of
				https://github.com/larstvei/dot-emacs.git
				synced 2025-11-04 01:20:11 +00:00 
			
		
		
		
	Make C setup for C mode only
This commit is contained in:
		
							parent
							
								
									dff1b2ba3a
								
							
						
					
					
						commit
						56095aae61
					
				
							
								
								
									
										2
									
								
								init.org
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								init.org
									
									
									
									
									
								
							@ -990,7 +990,7 @@
 | 
				
			|||||||
   (defun c-setup ()
 | 
					   (defun c-setup ()
 | 
				
			||||||
     (local-set-key (kbd "C-c C-c") 'compile))
 | 
					     (local-set-key (kbd "C-c C-c") 'compile))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   (add-hook 'c-mode-common-hook 'c-setup)
 | 
					   (add-hook 'c-mode-hook 'c-setup)
 | 
				
			||||||
   #+END_SRC
 | 
					   #+END_SRC
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   Some statements in Java appear often, and become tedious to write
 | 
					   Some statements in Java appear often, and become tedious to write
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user