unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Define interactive function with arguments
@ 2020-10-08 23:15 Christopher Dimech
  2020-10-08 23:41 ` Stefan Monnier
  2020-10-08 23:47 ` Emanuel Berg via Users list for the GNU Emacs text editor
  0 siblings, 2 replies; 11+ messages in thread
From: Christopher Dimech @ 2020-10-08 23:15 UTC (permalink / raw)
  To: Help Gnu Emacs

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




^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-10-09 14:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-08 23:15 Define interactive function with arguments Christopher Dimech
2020-10-08 23:41 ` Stefan Monnier
2020-10-08 23:47 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-10-09  6:38   ` Christopher Dimech
2020-10-09  7:18     ` Joost Kremers
2020-10-09  8:57       ` Christopher Dimech
2020-10-09  9:22         ` Joost Kremers
2020-10-09  9:52           ` Christopher Dimech
2020-10-09 14:03             ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-10-09 14:01         ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-10-09 14:24           ` Christopher Dimech

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).