clang-include-fixer.el: Don't prompt the user about killing clang-include-fixer processes
By default, Emacs prompts the user when killing processes on exit. This is useful for stateful processes such as interactive shells. However, clang-include-fixer processes are stateless; the only effect of killing them is to cancel a clang-include-fixer operation. Therefore prompting the user is just a nuisance. Patch by Philipp Stephani. Differential Revision: https://reviews.llvm.org/D25378 llvm-svn: 283863
This commit is contained in:
		
							parent
							
								
									c93518db8c
								
							
						
					
					
						commit
						516a3df5cf
					
				| 
						 | 
				
			
			@ -101,6 +101,7 @@ arguments.  Return the new process object."
 | 
			
		|||
                  :buffer stdout
 | 
			
		||||
                  :command (clang-include-fixer--command args)
 | 
			
		||||
                  :coding 'utf-8-unix
 | 
			
		||||
                  :noquery t
 | 
			
		||||
                  :connection-type 'pipe
 | 
			
		||||
                  :sentinel (clang-include-fixer--sentinel stdin stdout stderr
 | 
			
		||||
                                                           callback)
 | 
			
		||||
| 
						 | 
				
			
			@ -118,6 +119,7 @@ arguments.  Return the new process object."
 | 
			
		|||
         (process (apply #'start-process "clang-include-fixer" stdout
 | 
			
		||||
                         (clang-include-fixer--command args))))
 | 
			
		||||
    (set-process-coding-system process 'utf-8-unix 'utf-8-unix)
 | 
			
		||||
    (set-process-query-on-exit-flag process nil)
 | 
			
		||||
    (set-process-sentinel process
 | 
			
		||||
                          (clang-include-fixer--sentinel stdin stdout nil
 | 
			
		||||
                                                         callback))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue