branch: elpa/gnuplot
commit 9894505d1524ddf6e066a332719a1e95457fcb6b
Author: conao3 <[email protected]>
Commit: conao3 <[email protected]>
Ignore backward-sexp error when get completion
---
gnuplot.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnuplot.el b/gnuplot.el
index ba943c5..b6fe49e 100644
--- a/gnuplot.el
+++ b/gnuplot.el
@@ -2990,7 +2990,7 @@ positions and COMPLETIONS is a list."
(let* ((end (point))
(beg (condition-case _err
(save-excursion (backward-sexp 1) (point))
- (point)))
+ (error (point))))
(patt (buffer-substring beg end))
(pattern (if (string-match "\\([^ \t]*\\)\\s-+$" patt)
(match-string 1 patt) patt))