changeset 109840:51f5fd9b5515

* smie.el (smie-forward-sexp-command): Fix typo.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 18 Aug 2010 14:03:57 +0200
parents f2b0181ddf31
children 3a11454ef7ca
files lisp/emacs-lisp/smie.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/smie.el	Wed Aug 18 13:01:15 2010 +0200
+++ b/lisp/emacs-lisp/smie.el	Wed Aug 18 14:03:57 2010 +0200
@@ -505,7 +505,7 @@
             (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)))