help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Keybinding that cycles call to a function


From: daniela-spit
Subject: Keybinding that cycles call to a function
Date: Fri, 27 Nov 2020 02:00:41 +0100

If I have a function that takes a number.  How can a make a
keybinding that cycles through the values n  = 0, 1, 2?

(defun fn (n)
   (interactive "n Enter Value: ")
   body-of-func)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]