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

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

Re: Overriding self-insert-command doesn't work


From: David Hansen
Subject: Re: Overriding self-insert-command doesn't work
Date: Mon, 12 Mar 2007 20:30:09 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux)

On 12 Mar 2007 11:30:58 -0700 "spamfilteraccount@gmail.com" 
<spamfilteraccount@gmail.com> wrote:
>
> I mean if you know ways other than advising to change the definition
> of self-insert-command transpararently then I'm all ears.

I don't know what you wanna do but maybe:

(define-key map [remap self-insert-command] #'my-version-of-self-insert)

or add some function to `after-change-functions'.  The first one
requires emacs 22 (AFAIK).

David





reply via email to

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