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

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

Re: Something like an array (list) of a class


From: Decebal
Subject: Re: Something like an array (list) of a class
Date: Mon, 13 Apr 2009 05:27:44 -0700 (PDT)
User-agent: G2/1.0

On 13 apr, 13:55, Decebal <CLDWester...@gmail.com> wrote:
>       (ModeLine
>        (:constructor nil)
>        (:constructor new-ModeLine (type description display function))
>        )
>       (type        :read-only t)
>       (description :read-only t)
>       (display     :read-only t)
>       (function    :read-only t)
>       )
>
>     (setq e (new-ModeLine
>              "word"
>              "Display number of words"
>              "W"
>              'buffer-count-words
>              )
>           )

The function buffer-count-words exist, but how do I execute it? (eval
(ModeLine-function e)) doesnot work.


reply via email to

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