aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2013-10-22 10:55:59 +0200
committerFredrik Gustafsson <[email protected]>2013-10-22 10:55:59 +0200
commitb6f30fea2daa9b3ce76f351d67479e2e69f08b88 (patch)
tree9307cf04b662c74b910160311b743a0f996becd1 /lib/tools
parent7cf1ce9d805414d5cb1bf29852d2a5bf48ea4235 (diff)
downloadotp-b6f30fea2daa9b3ce76f351d67479e2e69f08b88.tar.gz
otp-b6f30fea2daa9b3ce76f351d67479e2e69f08b88.tar.bz2
otp-b6f30fea2daa9b3ce76f351d67479e2e69f08b88.zip
tools: Add Erlang-specific compilation error regexp for erlang-eunit
This defvar was removed in a87a9699735b0a25f99397fba9576f5756da54d3 which made eunit fail on running tests in emacs.
Diffstat (limited to 'lib/tools')
-rw-r--r--lib/tools/emacs/erlang-eunit.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/tools/emacs/erlang-eunit.el b/lib/tools/emacs/erlang-eunit.el
index f2c0db67dd..0adeff1a02 100644
--- a/lib/tools/emacs/erlang-eunit.el
+++ b/lib/tools/emacs/erlang-eunit.el
@@ -40,6 +40,10 @@ This is useful, reducing the save-compile-load-test cycle to one keychord.")
(defvar erlang-eunit-recent-info '((mode . nil) (module . nil) (test . nil) (cover . nil))
"Info about the most recent running of an EUnit test representation.")
+(defvar erlang-error-regexp-alist
+ '(("^\\([^:( \t\n]+\\)[:(][ \t]*\\([0-9]+\\)[:) \t]" . (1 2)))
+ "*Patterns for matching Erlang errors.")
+
;;;
;;; Switch between src/EUnit test buffers
;;;