branch: elpa/drupal-mode
commit 3f306071da11680e70894df45f059176357d8da1
Author: Arne Jørgensen <[email protected]>
Commit: Arne Jørgensen <[email protected]>

    Drupal 8 moved the version number to a new file.
    
    Fixes #36.
---
 drupal-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drupal-mode.el b/drupal-mode.el
index 52fda19759..197a18da83 100644
--- a/drupal-mode.el
+++ b/drupal-mode.el
@@ -525,7 +525,7 @@ the location of DRUPAL_ROOT."
   (hack-local-variables)
   (when (or (not drupal-version)
             (not drupal-rootdir))
-    (dolist (file '("modules/system/system.module" "includes/bootstrap.inc" 
"core/includes/bootstrap.inc"))
+    (dolist (file '("modules/system/system.module" "includes/bootstrap.inc" 
"core/lib/Drupal.php"))
       (let ((here (or buffer-file-name default-directory)))
         (when here
           (let ((dir (locate-dominating-file here file)))

Reply via email to