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

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

Re: Disable self-insert-command


From: Mauro Aranda
Subject: Re: Disable self-insert-command
Date: Fri, 17 May 2019 09:54:47 -0300

Noam Postavsky <address@hidden> writes:

> On Fri, 17 May 2019 at 07:13, Joost Kremers <address@hidden>
wrote:
>
>> I've been trying to  figure out if there's a straightforward way
>> to disable all self-inserting characters through a minor mode,
>
>> Any ideas? Anything I'm overlooking?
>
> (define-key my-minor-mode-map [remap self-insert-command] 'ignore)

Maybe suppress-keymap can help here?  It does something similar,
although it remaps to 'undefined rather than 'ignore.


reply via email to

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