diff --git a/src/config.coffee b/src/config.coffee index 2d26060b7..8b07e01cb 100644 --- a/src/config.coffee +++ b/src/config.coffee @@ -709,7 +709,7 @@ class Config @scopedSettingsStore.getPropertyValue(scopeChain, keyPath) # TODO: figure out how to remove this. Only language mode uses it for one thing. - settingsForScopeDescriptor: (scopeDescriptor, keyPath) -> + scopedSettingsForScopeDescriptor: (scopeDescriptor, keyPath) -> scopeChain = scopeDescriptor .map (scope) -> scope = ".#{scope}" unless scope[0] is '.' diff --git a/src/syntax.coffee b/src/syntax.coffee index 10f9cda98..7a7b8feb8 100644 --- a/src/syntax.coffee +++ b/src/syntax.coffee @@ -56,5 +56,5 @@ class Syntax extends GrammarRegistry atom.config.getRawScopedValue(scope, keyPath) propertiesForScope: (scope, keyPath) -> - deprecate 'A direct (but private) replacement is available at atom.config.settingsForScopeDescriptor().' - atom.config.settingsForScopeDescriptor(scope, keyPath) + deprecate 'A direct (but private) replacement is available at atom.config.scopedSettingsForScopeDescriptor().' + atom.config.scopedSettingsForScopeDescriptor(scope, keyPath)