From b6f30fea2daa9b3ce76f351d67479e2e69f08b88 Mon Sep 17 00:00:00 2001 From: Fredrik Gustafsson Date: Tue, 22 Oct 2013 10:55:59 +0200 Subject: 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. --- lib/tools/emacs/erlang-eunit.el | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/tools/emacs') 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 ;;; -- cgit v1.2.3