branch: elpa/graphql-mode
commit 2ee89d4e05774096968aef9363bfbfce86b6f1f0
Author: Leo Liu <[email protected]>
Commit: Leo Liu <[email protected]>
Fix Error during redisplay
(jit-lock-function 3328) signaled (end-of-buffer)
---
graphql-mode.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/graphql-mode.el b/graphql-mode.el
index 0944537a6b..c61768903e 100644
--- a/graphql-mode.el
+++ b/graphql-mode.el
@@ -313,6 +313,7 @@ This is the function to be used for the hook
`completion-at-point-functions'."
;; If we are not inside an argument list, jump after the next
;; opening parenthesis, and we will try again there.
(skip-syntax-forward "^(" limit)
+ (and (eobp) (throw 'end nil))
(forward-char))))))