Skip to content

Commit ce9d3a5

Browse files
committed
Fixed regexp.
Minor glitch in on of the improved regexps from #50.
1 parent c837052 commit ce9d3a5

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
@@ -666,7 +666,7 @@ the location of DRUPAL_ROOT."
666666
(re-search-forward "[ \t]\"?\\([^\"]+\\)\"?" (point-at-eol) t)
667667
(setq version (match-string-no-properties 1)))
668668
(goto-char (point-min))
669-
(when (re-search-forward "^name[ \t]=" nil t)
669+
(when (re-search-forward "^name[ \t]*=" nil t)
670670
(re-search-forward "[ \t]*\"?\\([^\"]+\\)\"?" (point-at-eol) t)
671671
(setq module-name (match-string-no-properties 1)))
672672
(goto-char (point-min))

0 commit comments

Comments
 (0)