all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.