Skip to content

Commit

Permalink
Allow whitespace before settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
svenpanne authored and chrisdone committed Jan 20, 2014
1 parent 182e34f commit a4a8a09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haskell-cabal.el
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
(let ((case-fold-search t))
(goto-char (point-min))
(when (re-search-forward
(concat "^" (regexp-quote name)
(concat "^[ \t]*" (regexp-quote name)
":[ \t]*\\(.*\\(\n[ \t]+[ \t\n].*\\)*\\)")
nil t)
(let ((val (match-string 1))
Expand Down

0 comments on commit a4a8a09

Please sign in to comment.