[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: command remapping problem
From: |
Kim F. Storm |
Subject: |
Re: command remapping problem |
Date: |
Wed, 01 Feb 2006 12:06:56 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Miles Bader <address@hidden> writes:
> 2006/2/1, Kim F. Storm <address@hidden>:
>> + DEFUN ("indirect-function-noerror", Findirect_function_noerror,
>> Sindirect_function_noerror, 1, 1, 0,
> ...
>> + If the final symbol is unbound, return OBJECT
>
> Instead of making a new function, how about adding an optional
> "default" argument to the existing `indirect-function' function?
I will certainly do that _if_ it solves the problem. For the test, I
wanted to make the smallest (localized) patch I could think of.
But this may be a good change in its own -- WDPT?
>
> [BTW, you could also get rid of the "and" -- if DEFN is nil, then
> that's just an funbound symbol.]
Yes.
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Re: command remapping problem,
Kim F. Storm <=