emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/drupal-mode ce9d3a564f 215/308: Fixed regexp.


From: ELPA Syncer
Subject: [nongnu] elpa/drupal-mode ce9d3a564f 215/308: Fixed regexp.
Date: Tue, 25 Jan 2022 10:59:49 -0500 (EST)

branch: elpa/drupal-mode
commit ce9d3a564f1e22c0cb1c06965c41fd534d0e3ba9
Author: Arne Jørgensen <arne@arnested.dk>
Commit: Arne Jørgensen <arne@arnested.dk>

    Fixed regexp.
    
    Minor glitch in on of the improved regexps from #50.
---
 drupal-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drupal-mode.el b/drupal-mode.el
index 7cc6d356b1..53dae43468 100644
--- a/drupal-mode.el
+++ b/drupal-mode.el
@@ -666,7 +666,7 @@ the location of DRUPAL_ROOT."
           (re-search-forward "[ \t]\"?\\([^\"]+\\)\"?" (point-at-eol) t)
           (setq version (match-string-no-properties 1)))
         (goto-char (point-min))
-        (when (re-search-forward "^name[ \t]=" nil t)
+        (when (re-search-forward "^name[ \t]*=" nil t)
           (re-search-forward "[ \t]*\"?\\([^\"]+\\)\"?" (point-at-eol) t)
           (setq module-name (match-string-no-properties 1)))
         (goto-char (point-min))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]