mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-05 22:20:24 -08:00
Bind dynamically row col on calling ses-after-entry-functions.
This commit is contained in:
parent
ed25af44d3
commit
6c2256f52e
1 changed files with 6 additions and 4 deletions
|
|
@ -2604,8 +2604,9 @@ Return nil if cell formula was unsafe and user declined confirmation."
|
|||
curval)))))))
|
||||
(when (ses-edit-cell row col newval)
|
||||
(ses-command-hook) ; Update cell widths before movement.
|
||||
(cl-progv '(row col) (list row col) ; cl-progv to have dynamic binding
|
||||
(dolist (x ses-after-entry-functions)
|
||||
(funcall x 1))))
|
||||
(funcall x 1)))))
|
||||
|
||||
(defun ses-read-symbol (row col symb)
|
||||
"Self-insert for a symbol as a cell formula.
|
||||
|
|
@ -2624,8 +2625,9 @@ spreadsheet is available for completions."
|
|||
(list 'quote (intern newval))))))
|
||||
(when (ses-edit-cell row col symb)
|
||||
(ses-command-hook) ; Update cell widths before movement.
|
||||
(cl-progv '(row col) (list row col) ; cl-progv to have dynamic binding
|
||||
(dolist (x ses-after-entry-functions)
|
||||
(funcall x 1))))
|
||||
(funcall x 1)))))
|
||||
|
||||
(defun ses-clear-cell-forward (count)
|
||||
"Delete formula and printer for current cell and then move to next cell.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue