Skip to content

Commit 3f30607

Browse files
committed
Drupal 8 moved the version number to a new file.
Fixes #36.
1 parent 2ad9dec commit 3f30607

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drupal-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ the location of DRUPAL_ROOT."
525525
(hack-local-variables)
526526
(when (or (not drupal-version)
527527
(not drupal-rootdir))
528-
(dolist (file '("modules/system/system.module" "includes/bootstrap.inc" "core/includes/bootstrap.inc"))
528+
(dolist (file '("modules/system/system.module" "includes/bootstrap.inc" "core/lib/Drupal.php"))
529529
(let ((here (or buffer-file-name default-directory)))
530530
(when here
531531
(let ((dir (locate-dominating-file here file)))

0 commit comments

Comments
 (0)