]> code.delx.au - gnu-emacs/commitdiff
fix bug#21054
authorVincent Belaïche <vincentb1@users.sourceforge.net>
Thu, 31 Dec 2015 08:21:46 +0000 (09:21 +0100)
committerVincent Belaïche <vincentb1@users.sourceforge.net>
Thu, 31 Dec 2015 08:21:46 +0000 (09:21 +0100)
* ses.el (ses-check-curcell): Call `ses-set-curcell' unconditionally

lisp/ses.el

index d15483f4783baa22c15fbaa14706e27707dd6e36..f72df20c21bbc77911a260eeb859e1febe988c2f 100644 (file)
@@ -1117,9 +1117,7 @@ region, or nil if cursor is not at a cell."
 The end marker is appropriate if some argument is `end'.
 A range is appropriate if some argument is `range'.
 A single cell is appropriate unless some argument is `needrange'."
-  (if (eq ses--curcell t)
-      ;; curcell recalculation was postponed, but user typed ahead.
-      (ses-set-curcell))
+  (ses-set-curcell); fix  bug#21054
   (cond
    ((not ses--curcell)
     (or (memq 'end args)