         mac   : macKey
       exec    : => callback?()
 
+  isContentChanged: ->
+    return @getContents() isnt @lastSavedContents
+
   ###
   FS REQUESTS
   ###
 
   requestSave:->
-
     contents = @getContents()
-    return @notify "Nothing to save!" unless contents isnt @lastSavedContents
+    return @notify "Nothing to save!" unless @isContentChanged()
     @askedForSave = yes
     @emit "ace.requests.save", contents
 
   requestSaveAs:->
-
     contents = @getContents()
     @emit "ace.requests.saveAs", contents
 
   fetchContents:(callback)->
-
     file = @getData()
     unless /localfile:/.test file.path
       @notify "Loading...", null, null, 10000

    file.on "fs.save.started", =>
      @lastContentsSentForSave = @getContents()


    if @getOptions().enableShortcuts
      @addKeyCombo "save", "Ctrl-S", @bound "requestSave"

      unless err
        @notify "Successfully saved!", "success"
        @lastSavedContents = @lastContentsSentForSave
        @emit "FileContentSynced"
        unless @askedForSave
          log "this file has changed, put a modal and block editing @fatihacet!"
        @askedForSave = no
