(s (completing-read
"Jump to cell: "
(and ses--named-cell-hashmap
- (progn (maphash (lambda (key val) (push (symbol-name key) names))
+ (progn (maphash (lambda (key _val)
+ (push (symbol-name key) names))
ses--named-cell-hashmap)
names)))))
(if
;; (defvar maxrow)
;; (defvar maxcol)
-(defun ses-recalculate-cell (&optional ses--curcell)
+(defun ses-recalculate-cell (&optional curcell)
"Recalculate and reprint the current cell or range.
-If SES--CURCELL is non nil use it as current cell or range
+If CURCELL is non nil use it as current cell or range
without any check, otherwise function (ses-check-curcell 'range)
is called.
cells are recalculated in \"natural\" order, so cells that other cells refer
to are recalculated first."
(interactive "*")
- (or ses--curcell (ses-check-curcell 'range))
+ (if curcell (setq ses--curcell curcell)
+ (ses-check-curcell 'range))
(ses-begin-change)
(ses-initialize-Dijkstra-attempt)
(let (sig cur-rowcol)
function is redefined."
(interactive
(let (name def already-defined-names)
- (maphash (lambda (key val) (push (symbol-name key) already-defined-names))
+ (maphash (lambda (key _val) (push (symbol-name key) already-defined-names))
ses--local-printer-hashmap)
(setq name (completing-read "Enter printer name: " already-defined-names))
(when (string= name "")