[Top][All Lists]

[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: Stefan Monnier
Subject: Re: [elpa] 01/21: company-begin-commands: add `org-self-insert-command'
Date: Mon, 03 Feb 2014 22:43:44 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> -(defcustom company-begin-commands '(self-insert-command)
> +(defcustom company-begin-commands '(self-insert-command 
> org-self-insert-command)

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]))

-- Stefan

reply via email to

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