]> git.eshelyaron.com Git - emacs.git/commitdiff
Do not hard code A1 cell reference, as it may be renamed.
authorVincent Belaïche <vincentb1@users.sourceforge.net>
Thu, 22 Jun 2017 07:27:17 +0000 (09:27 +0200)
committerVincent Belaïche <vincentb1@users.sourceforge.net>
Thu, 22 Jun 2017 07:27:17 +0000 (09:27 +0200)
* lisp/ses.el (ses-recalculate-all): `A1' -> `(ses-cell-symbol 0 0)'

lisp/ses.el

index fd7174d383d347ec1a5bd49aba79a5bd03b5f7f2..b3686076358ec7525ae819d546cc5609e01a9536 100644 (file)
@@ -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)))