summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/find-func.el
diff options
context:
space:
mode:
authorVincent Belaïche <vincentb1@users.sourceforge.net>2012-11-09 06:48:05 +0100
committerVincent Belaïche <vincentb1@users.sourceforge.net>2012-11-09 06:48:05 +0100
commit93a66b3a3d1b1d19da6d3e759ebe4b9192c70efc (patch)
tree35c63f86419899ea7c50cc220cba17376ffd712b /lisp/emacs-lisp/find-func.el
parent57618ecf3358e49ab3c380330e82ca8d2078cc63 (diff)
downloademacs-93a66b3a3d1b1d19da6d3e759ebe4b9192c70efc.tar.gz
emacs-93a66b3a3d1b1d19da6d3e759ebe4b9192c70efc.tar.bz2
emacs-93a66b3a3d1b1d19da6d3e759ebe4b9192c70efc.zip
* ses.el: Use hash map for getting named cells coordinates.
symbol to coordinate mapping is made by symbol property `ses-cell'. This means that the same mapping is done for all SES sheets. That is good enough for cells with standard A1 names, but not for named cell. So a hash map is added for those latter. (defconst ses-localvars): added local variable ses--named-cell-hashmap (ses-sym-rowcol): Use hashmap for named cell. (ses-is-cell-sym-p): New defun. (ses-decode-cell-symbol): New defun. (ses-create-cell-variable): Add cell to hashmap when name is not A1-like. (ses-rename-cell): Check that cell new name is not already in spreadsheet with the use of ses-is-cell-sym-p (ses-rename-cell): Use hash map for named cells, but accept also renaming back to A1-like.
Diffstat (limited to 'lisp/emacs-lisp/find-func.el')
0 files changed, 0 insertions, 0 deletions