From: Stefan Monnier Date: Wed, 18 Aug 2010 12:03:57 +0000 (+0200) Subject: * smie.el (smie-forward-sexp-command): Fix typo. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~48^2~250 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b3a8fe90e79d93e432c633b598f127ec7a1f4930;p=emacs.git * smie.el (smie-forward-sexp-command): Fix typo. --- 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)))