           @scopedSettingsStore.removePropertiesForSourceAndSelector(source, scopeSelector)
           _.setValueForKeyPath(settings, keyPath, undefined)
           settings = withoutEmptyObjects(settings)
-          @addScopedSettings(source, scopeSelector, settings, @usersScopedSettingPriority) if settings?
+          @addScopedSettings(source, scopeSelector, settings, priority: @usersScopedSettingPriority) if settings?
           @save() unless @configFileHasErrors
       else
         @scopedSettingsStore.removePropertiesForSource(source)

  resetUserScopedSettings: (newScopedSettings) ->
    @usersScopedSettings?.dispose()
    @usersScopedSettings = new CompositeDisposable
    @usersScopedSettings.add @scopedSettingsStore.addProperties(@getUserConfigPath(), newScopedSettings, @usersScopedSettingPriority)
    @emitter.emit 'did-change'

  addScopedSettings: (source, selector, value, options) ->

    @settings = {}
    @scopedSettingsStore = new ScopedPropertyStore
    @usersScopedSettings = new CompositeDisposable
    @configFileHasErrors = false
    @configFilePath = fs.resolve(@configDirPath, 'config', ['json', 'cson'])
    @configFilePath ?= path.join(@configDirPath, 'config.cson')
    @prioritiesBySource = {}
    @prioritiesBySource[@getUserConfigPath()] = 1000

  ###
  Section: Config Subscription
