         scopeSelector: ".#{scope}"
 
   updateGuides: =>
+    @empty()
+    return unless @isEnabled()
     columns = @getColumns(@editor.getPath(), @editor.getGrammar().scopeName)
-    if columns.length > 0 and @isEnabled()
-      @empty()
+    if columns.length > 0
       for column in columns
         columnWidth = @editorElement.getDefaultCharacterWidth() * column
         guide = @createElement 'div', 'multi-wrap-guide'

    return if customColumns.length > 0 then customColumns else @getDefaultColumns(scopeName)

  isEnabled: ->
    atom.config.get('wrap-guide.enabled', scope: @editor.getRootScopeDescriptor()) ? true

  createElement: (type, classes...) ->
    element = $(document.createElement(type))

      scope: @editor.getRootScopeDescriptor(),
      updateGuidesCallback
    )
    subscriptions.add atom.config.onDidChange(
      'multi-wrap-guide.enabled',
      updateGuidesCallback
    )
    subscriptions

  getDefaultColumns: (scopeName) ->
