summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/ring.el
diff options
context:
space:
mode:
authorVincent Belaïche <vincentb1@users.sourceforge.net>2017-06-23 11:16:37 +0200
committerVincent Belaïche <vincentb1@users.sourceforge.net>2017-06-23 11:16:37 +0200
commiteebb9783e1674732b7c63d50211b524ff0fea7bd (patch)
treebed257f0db158f3086066c6d12c35b63a0cddcc7 /lisp/emacs-lisp/ring.el
parentd533f5f2a783e4c6448f841e709f4528f498b7ea (diff)
downloademacs-eebb9783e1674732b7c63d50211b524ff0fea7bd.tar.gz
emacs-eebb9783e1674732b7c63d50211b524ff0fea7bd.tar.bz2
emacs-eebb9783e1674732b7c63d50211b524ff0fea7bd.zip
Fix symbol relocation when the relocated cell is renamed.
* lisp/ses.el (ses-sym-rowcol): Check that the renamed cell hashmap has been instantiated before getting data from it. When editing several spreadsheets, and you have spreadsheet #1 with a cell named `foo', and no renamed cell in spreadsheet #2, then if you make a formula with `foo' in spreadsheet #2, not doing this check will make an error. (ses-cell-set-formula): Robustify versus incorrect cell references given in the user provided formula. An explicit error message is provided after the action when the user gives an incorrect cell reference, but the formula edition is not changed. This means that if the incorrect reference is to a cell that is created someday, then this new cell will not have the edited cell in its reference list. Fixing this can still be done by editing again the first cell formula. (ses-relocate-symbol): Do not create symbol of referred-to cell when this is a renamed cell.
Diffstat (limited to 'lisp/emacs-lisp/ring.el')
0 files changed, 0 insertions, 0 deletions