[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to search inside functions definition
From: |
Eric Hanchrow |
Subject: |
Re: how to search inside functions definition |
Date: |
Thu, 12 Jul 2007 10:30:37 -0700 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
>>>>> "Camille" == Camille Bourgoin <monsieur.camille@gmail.com> writes:
Camille> Hello, I want to list all the primitive functions in
Camille> Emacs with a search within their definitions. But I
Camille> don't know how to do this.
I wonder if this is what you want:
(let ((funcs '()))
(mapatoms (lambda (a)
(if (and (fboundp a)
(subrp (symbol-function a)))
(setq funcs (cons a funcs)))))
funcs)
--
Like most people, I would like to use the words ''parameters''
and ''behoove'' in the same sentence, but I am not sure how.
-- A Question for 'Ask Mister Language Person'