From: Vincent Belaïche Date: Thu, 22 Jun 2017 07:27:17 +0000 (+0200) Subject: Do not hard code A1 cell reference, as it may be renamed. X-Git-Tag: emacs-26.0.90~521^2~11^2~55 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d533f5f2a783e4c6448f841e709f4528f498b7ea;p=emacs.git Do not hard code A1 cell reference, as it may be renamed. * lisp/ses.el (ses-recalculate-all): `A1' -> `(ses-cell-symbol 0 0)' --- diff --git a/lisp/ses.el b/lisp/ses.el index fd7174d383d..b3686076358 100644 --- a/lisp/ses.el +++ b/lisp/ses.el @@ -2337,7 +2337,8 @@ to are recalculated first." "Recalculate and reprint all cells." (interactive "*") (let ((startcell (ses--cell-at-pos (point))) - (ses--curcell (cons 'A1 (ses-cell-symbol (1- ses--numrows) + (ses--curcell (cons (ses-cell-symbol 0 0) + (ses-cell-symbol (1- ses--numrows) (1- ses--numcols))))) (ses-recalculate-cell ses--curcell) (ses-jump-safe startcell)))