[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [elpa] 01/21: company-begin-commands: add `org-self-insert-command'
From: |
Dmitry Gutov |
Subject: |
Re: [elpa] 01/21: company-begin-commands: add `org-self-insert-command' |
Date: |
Tue, 04 Feb 2014 13:52:56 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
> One way to remove the need for org-self-insert-command is to check not
> just (memq this-command company-begin-commands) but also check
> (memq this-command
> (mapcar (lambda (cmd) (key-binding `[remap ,cmd]))
> company-begin-commands))
Thank you, I'll keep this in mind the next time the issue comes up.
This could very well have been the last time, though: not many modes
remap self-insert-command, and putting other kinds of commands in this
variable is not very likely.