fix bug#21054

* ses.el (ses-check-curcell): Call `ses-set-curcell' unconditionally
This commit is contained in:
Vincent Belaïche 2015-12-31 09:21:46 +01:00
parent ce5ad125ef
commit b1a8509030

View 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'. The end marker is appropriate if some argument is `end'.
A range is appropriate if some argument is `range'. A range is appropriate if some argument is `range'.
A single cell is appropriate unless some argument is `needrange'." A single cell is appropriate unless some argument is `needrange'."
(if (eq ses--curcell t) (ses-set-curcell); fix bug#21054
;; curcell recalculation was postponed, but user typed ahead.
(ses-set-curcell))
(cond (cond
((not ses--curcell) ((not ses--curcell)
(or (memq 'end args) (or (memq 'end args)