Function: ses-is-cell-sym-p

ses-is-cell-sym-p is a byte-compiled function defined in ses.el.gz.

Signature

(ses-is-cell-sym-p SYM)

Documentation

Check whether SYM point at a cell of this spread sheet.

Source Code

;; Defined in /usr/src/emacs/lisp/ses.el.gz
(defun ses-is-cell-sym-p (sym)
  "Check whether SYM point at a cell of this spread sheet."
  (let ((rowcol (get sym 'ses-cell)))
    (and rowcol
	 (if (eq rowcol :ses-named)
	     (and ses--named-cell-hashmap (gethash sym ses--named-cell-hashmap))
	   (and (< (car rowcol) ses--numrows)
		(< (cdr rowcol) ses--numcols)
		(eq (ses-cell-symbol (car rowcol) (cdr rowcol)) sym))))))