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

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

Passing arguments to Elisp function


From: jai-bholeki
Subject: Passing arguments to Elisp function
Date: Sun, 01 Nov 2020 16:54:55 +0000

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

reply via email to

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