diff options
| author | Vincent Belaïche | 2026-03-13 16:09:31 +0100 |
|---|---|---|
| committer | Vincent Belaïche | 2026-03-13 16:09:31 +0100 |
| commit | 51de35c9d89f29747be72332af313eeb48474c5c (patch) | |
| tree | 61f73eeef7e7905a05ca10dc1b030510a4cfd918 | |
| parent | 8050bee438b14cc551d4022d643edece8c5a884b (diff) | |
| download | emacs-scratch/ses-programmatic-editing.tar.gz emacs-scratch/ses-programmatic-editing.zip | |
Fix after entry hooking.scratch/ses-programmatic-editing
* lisp/ses.el (ses-edit-cell): Run ses-after-entry-functions
when called interactively.
Fix after entry hooking.
* lisp/ses.el (ses-edit-cell): Run ses-after-entry-functions
when called interactively.
| -rw-r--r-- | lisp/ses.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ses.el b/lisp/ses.el index 1b99cc500d0..8b1766ccd88 100644 --- a/lisp/ses.el +++ b/lisp/ses.el | |||
| @@ -2570,7 +2570,12 @@ Return nil if cell formula was unsafe and user declined confirmation." | |||
| 2570 | (when (ses-warn-unsafe newval 'unsafep) | 2570 | (when (ses-warn-unsafe newval 'unsafep) |
| 2571 | (ses-begin-change) | 2571 | (ses-begin-change) |
| 2572 | (ses-cell-set-formula row col newval) | 2572 | (ses-cell-set-formula row col newval) |
| 2573 | t)) | 2573 | (if (called-interactively-p) |
| 2574 | (let ((ses--row row) | ||
| 2575 | (ses--col col)) | ||
| 2576 | (run-hook-with-args 'ses-after-entry-functions 1)) | ||
| 2577 | t) | ||
| 2578 | )) | ||
| 2574 | 2579 | ||
| 2575 | (defun ses-read-cell (row col newval) | 2580 | (defun ses-read-cell (row col newval) |
| 2576 | "Self-insert for initial character of cell function." | 2581 | "Self-insert for initial character of cell function." |