[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Define interactive function with arguments
From: |
Christopher Dimech |
Subject: |
Define interactive function with arguments |
Date: |
Fri, 9 Oct 2020 01:15:02 +0200 |
I want to call a function that takes a numeric argument
to I can shift paragraphs.
( defun Transpose-Paragraphs-Arg (arg)
"Transfer paragraph backward"
(interactive)
(transpose-paragraphs arg)
)
I have been using "M-x Transpose-Paragraphs-Arg"
But then, how does one pass the value of the argument
to the function.
Regards
Christopher
- Define interactive function with arguments,
Christopher Dimech <=
- Re: Define interactive function with arguments, Stefan Monnier, 2020/10/08
- Re: Define interactive function with arguments, Emanuel Berg, 2020/10/08
- Re: Define interactive function with arguments, Christopher Dimech, 2020/10/09
- Re: Define interactive function with arguments, Joost Kremers, 2020/10/09
- Re: Define interactive function with arguments, Christopher Dimech, 2020/10/09
- Re: Define interactive function with arguments, Joost Kremers, 2020/10/09
- Re: Define interactive function with arguments, Christopher Dimech, 2020/10/09
- Re: Define interactive function with arguments, Emanuel Berg, 2020/10/09
- Re: Define interactive function with arguments, Emanuel Berg, 2020/10/09
- Re: Define interactive function with arguments, Christopher Dimech, 2020/10/09