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

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

Defining functions on the fly


From: Andreas Röhler
Subject: Defining functions on the fly
Date: Mon, 15 Jun 2015 11:24:14 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Hi,

have a bunch of subroutines which are useful in several modes - beginning/end of expressions, string positions, comments etc.

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

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

as defun expects a symbol.

Exists "fset" - is there a recommended way to go?

Thanks,

Andreas





reply via email to

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