Function: ses-sym-rowcol
ses-sym-rowcol is a macro defined in ses.el.gz.
Signature
(ses-sym-rowcol SYM)
Documentation
From a cell-symbol SYM, gets the cons (row . col). A1 => (0 . 0).
Result is nil if SYM is not a symbol that names a cell.
Source Code
;; Defined in /usr/src/emacs/lisp/ses.el.gz
(defmacro ses-sym-rowcol (sym)
"From a cell-symbol SYM, gets the cons (row . col). A1 => (0 . 0).
Result is nil if SYM is not a symbol that names a cell."
(declare (debug t))
`(let ((rc (and (symbolp ,sym) (get ,sym 'ses-cell))))
(if (eq rc :ses-named)
(and ses--named-cell-hashmap (gethash ,sym ses--named-cell-hashmap))
rc)))