diff --git ckeditor.api.php ckeditor.api.php
index f5a12c5..7c15ae8 100644
--- ckeditor.api.php
+++ ckeditor.api.php
@@ -79,8 +79,10 @@ function hook_ckeditor_security_filter() {
  *
  * @param $settings
  *   An associative array of settings.
+ * @param $profile
+ *   CKEditor profile information.
  */
-function hook_ckeditor_settings_alter(&$settings) {
+function hook_ckeditor_settings_alter(&$settings, $profile) {
   // Change the ckeditor config path.
   $settings['customConfig'] = drupal_get_path('module', 'ckeditor') . '/ckeditor.config.js';
 }
diff --git includes/ckeditor.lib.inc includes/ckeditor.lib.inc
index a6f3ad5..85129fd 100644
--- includes/ckeditor.lib.inc
+++ includes/ckeditor.lib.inc
@@ -1273,7 +1273,7 @@ function ckeditor_profile_settings_compile($global_profile, $profile) {
   }
 
   // Allow modules to modify the settings.
-  drupal_alter('ckeditor_settings', $settings);
+  drupal_alter('ckeditor_settings', $settings, $profile);
 
   return $settings;
 }
