From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Function to get defalias? Date: Mon, 23 Nov 2009 23:00:50 +0200 Organization: JURTA Message-ID: <87my2dt0ql.fsf@mail.jurta.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1259013327 23653 80.91.229.12 (23 Nov 2009 21:55:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Nov 2009 21:55:27 +0000 (UTC) Cc: Emacs-Devel devel To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 23 22:55:20 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NCgsR-0001oI-Lg for ged-emacs-devel@m.gmane.org; Mon, 23 Nov 2009 22:55:20 +0100 Original-Received: from localhost ([127.0.0.1]:59471 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NCgsR-0008Vl-8E for ged-emacs-devel@m.gmane.org; Mon, 23 Nov 2009 16:55:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NCgfy-0000B9-CB for emacs-devel@gnu.org; Mon, 23 Nov 2009 16:42:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NCgfq-0008Ru-Dr for emacs-devel@gnu.org; Mon, 23 Nov 2009 16:42:22 -0500 Original-Received: from [199.232.76.173] (port=59827 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NCgfn-0008RM-Dg for emacs-devel@gnu.org; Mon, 23 Nov 2009 16:42:15 -0500 Original-Received: from smtp-out4.starman.ee ([85.253.0.6]:41036 helo=mx2.starman.ee) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NCgfm-0003CS-7v for emacs-devel@gnu.org; Mon, 23 Nov 2009 16:42:14 -0500 X-Virus-Scanned: by Amavisd-New at mx2.starman.ee Original-Received: from mail.starman.ee (82.131.34.24.cable.starman.ee [82.131.34.24]) by mx2.starman.ee (Postfix) with ESMTP id A32283F40F7; Mon, 23 Nov 2009 23:42:08 +0200 (EET) In-Reply-To: (Lennart Borgman's message of "Mon, 23 Nov 2009 18:07:25 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:117634 Archived-At: > Do we have a function that does what indirect-variable does for > variables for defalias:ed funtions? Something like this in a loop: (or (and (symbolp this-command) (fboundp this-command) (symbolp (symbol-function this-command)) (symbol-function this-command)) this-command) -- Juri Linkov http://www.jurta.org/emacs/