summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2012-02-09 22:25:59 +0000
committerUlrich Müller <ulm@gentoo.org>2012-02-09 22:25:59 +0000
commit06ed06be461690bd7c2beabf3b429ebd427691a5 (patch)
tree85f4d6cba871881d3eacd234cb9174247f238426
parentUpdate copyright years. Whitespace. (diff)
downloadebuild-mode-06ed06be461690bd7c2beabf3b429ebd427691a5.tar.gz
ebuild-mode-06ed06be461690bd7c2beabf3b429ebd427691a5.tar.bz2
ebuild-mode-06ed06be461690bd7c2beabf3b429ebd427691a5.zip
Allow whitespace at beginning of line in ebuild-mode-arch-regexp, bug 402573.
svn path=/gentoo-syntax/; revision=1723
-rw-r--r--ChangeLog5
-rw-r--r--gentoo-syntax.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3e110db..bf292cf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-02-09 Ulrich Müller <ulm@gentoo.org>
+
+ * gentoo-syntax.el (ebuild-mode-arch-regexp): Allow whitespace at
+ beginning of line, bug 402573.
+
2012-01-21 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el (ebuild-mode-keywords-savedconfig):
diff --git a/gentoo-syntax.el b/gentoo-syntax.el
index cbb519f..fa53a0b 100644
--- a/gentoo-syntax.el
+++ b/gentoo-syntax.el
@@ -112,7 +112,7 @@ A formfeed is not considered whitespace by this function."
ebuild-mode-arch-list))
(defvar ebuild-mode-arch-regexp
- "^KEYWORDS=[\"']\\([^\"]*\\)[\"'][ \t]*$")
+ "^[ \t]*KEYWORDS=[\"']\\([^\"]*\\)[\"'][ \t]*$")
(defvar ebuild-mode-licenses
(condition-case nil