diff options
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/smie.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/smie.el b/lisp/emacs-lisp/smie.el index cb8e8fd9843..ee25551e102 100644 --- a/lisp/emacs-lisp/smie.el +++ b/lisp/emacs-lisp/smie.el @@ -505,7 +505,7 @@ Possible return values: (res (if forw (smie-forward-sexp 'halfsexp) (smie-backward-sexp 'halfsexp)))) - (if (and (car res) (= pos (point)) (not (if forw (eolp) (bobp)))) + (if (and (car res) (= pos (point)) (not (if forw (eobp) (bobp)))) (signal 'scan-error (list "Containing expression ends prematurely" (cadr res) (cadr res))) |