diff options
| author | Vincent Belaïche | 2015-12-31 09:21:46 +0100 |
|---|---|---|
| committer | Vincent Belaïche | 2015-12-31 09:21:46 +0100 |
| commit | b1a8509030a8656a6fd3e8bb64ae38d85cd889ee (patch) | |
| tree | 696d3fba00cdbd77b9220d4e44bef60c987945e8 | |
| parent | ce5ad125ef982648185d26f45995f02fc5ae132e (diff) | |
| download | emacs-b1a8509030a8656a6fd3e8bb64ae38d85cd889ee.tar.gz emacs-b1a8509030a8656a6fd3e8bb64ae38d85cd889ee.zip | |
fix bug#21054
* ses.el (ses-check-curcell): Call `ses-set-curcell' unconditionally
| -rw-r--r-- | lisp/ses.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/ses.el b/lisp/ses.el index d15483f4783..f72df20c21b 100644 --- a/lisp/ses.el +++ b/lisp/ses.el | |||
| @@ -1117,9 +1117,7 @@ region, or nil if cursor is not at a cell." | |||
| 1117 | The end marker is appropriate if some argument is `end'. | 1117 | The end marker is appropriate if some argument is `end'. |
| 1118 | A range is appropriate if some argument is `range'. | 1118 | A range is appropriate if some argument is `range'. |
| 1119 | A single cell is appropriate unless some argument is `needrange'." | 1119 | A single cell is appropriate unless some argument is `needrange'." |
| 1120 | (if (eq ses--curcell t) | 1120 | (ses-set-curcell); fix bug#21054 |
| 1121 | ;; curcell recalculation was postponed, but user typed ahead. | ||
| 1122 | (ses-set-curcell)) | ||
| 1123 | (cond | 1121 | (cond |
| 1124 | ((not ses--curcell) | 1122 | ((not ses--curcell) |
| 1125 | (or (memq 'end args) | 1123 | (or (memq 'end args) |