#NEWLINE# def on_close( self , view ) : #NEWLINE# #INDENT# if ( view . name ( ) != 'COMMIT_EDITMSG' ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# command = GitCommitCommand . active_message #NEWLINE# if ( not command ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# message = view_contents ( self ) #NEWLINE# command . message_done ( message )