|
From: | Juri Linkov |
Subject: | Re: Q: How to programatically terminate repeat-mode |
Date: | Mon, 03 Oct 2022 22:56:02 +0300 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
> Why can't the repeat-map code offer a function to ... "programatically > terminate repeat-mode"? Since it set up the timer, it can know what > function the timer will run and with what args and can thus run that > same code if it wants to. This is what I proposed: >> How do I do this from lisp? > Maybe the value of 'exitfun' should be stored in a variable? So a new variable 'repeat-exit-function' and new function 'repeat-exit' are added now. Raman, please try to use 'repeat-exit'.
[Prev in Thread] | Current Thread | [Next in Thread] |