[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Catching redefinitions
From: |
Elena |
Subject: |
Re: Catching redefinitions |
Date: |
Sun, 28 Nov 2010 02:12:08 -0800 (PST) |
User-agent: |
G2/1.0 |
On Nov 28, 4:49 am, "Pascal J. Bourguignon" <p...@informatimago.com>
wrote:
> Elena <egarr...@gmail.com> writes:
> > It would be nice to have such a debugging aid for variables too.
> > Writing a similar advice for "defvar", "defconst", etc. is easy, but I
> > don't know how the argument list of "setq" looks like.
>
> C-h f setq RET
Hahahaha, Pascal, too easy! I've already done that, but the prototype
of "setq" is:
(setq [SYM VAL]...)
which does not look like a syntactically correct prototype, and makes
Emacs choke when defining the advice. I've tried:
(setq sym val &rest rest)
but Emacs does not like it either.