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

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

Re: Defining functions on the fly


From: Alexis
Subject: Re: Defining functions on the fly
Date: Mon, 15 Jun 2015 19:47:47 +1000


Andreas Röhler <andreas.roehler@easy-emacs.de> writes:

Now every mode should get its own prefix.  Can't write

(defun (concat "current-prefix-" foo) ())

as defun expects a symbol.

i'm probably misunderstanding you, but does:

   (defun (intern (concat "current-prefix-" foo) ...

do what you need?


Alexis.



reply via email to

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