From fbefef025128e65fdfb562b485820dcb1ab04e99 Mon Sep 17 00:00:00 2001 From: Steve Vinoski Date: Fri, 10 Jan 2014 19:57:58 -0500 Subject: fix indentation error from scan-sexp in erlang.el Fix an indentation error being returned by scan-sexp, and add a new indentation test case for the error. --- lib/tools/emacs/erlang.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/tools/emacs/erlang.el') diff --git a/lib/tools/emacs/erlang.el b/lib/tools/emacs/erlang.el index c395d22356..3ab73dca86 100644 --- a/lib/tools/emacs/erlang.el +++ b/lib/tools/emacs/erlang.el @@ -3038,7 +3038,7 @@ This assumes that the preceding expression is either simple \(i.e. an atom) or parenthesized." (save-excursion (or arg (setq arg 1)) - (forward-sexp (- arg)) + (ignore-errors (forward-sexp (- arg))) (let ((col (current-column))) (skip-chars-backward " \t") ;; Special hack to handle: (note line break) -- cgit v1.2.3