unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Passing arguments to Elisp function
@ 2020-11-01 16:54 jai-bholeki via Users list for the GNU Emacs text editor
  2020-11-01 17:44 ` Jean Louis
  2020-11-01 20:59 ` tomas
  0 siblings, 2 replies; 4+ messages in thread
From: jai-bholeki via Users list for the GNU Emacs text editor @ 2020-11-01 16:54 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

I have a function gets the beginning and end of a region.

Is is possible to pass another argument to the function that is a character 'ch'?

(defun pengo (beg end)
(interactive "r") ; Specifies Mark and Point, smallest first
(goto-char beg)
)

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

end of thread, other threads:[~2020-11-01 21:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-01 16:54 Passing arguments to Elisp function jai-bholeki via Users list for the GNU Emacs text editor
2020-11-01 17:44 ` Jean Louis
2020-11-01 20:59 ` tomas
2020-11-01 21:03   ` jai-bholeki

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).