emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] master a557460 05/12: Set company-template-nav-map as parent of c


From: Dmitry Gutov
Subject: [elpa] master a557460 05/12: Set company-template-nav-map as parent of company-template-field-map
Date: Sat, 15 Jul 2017 13:36:44 -0400 (EDT)

branch: master
commit a557460e3bcab892b89dc1165835e74b563c322f
Author: ptrv <address@hidden>
Commit: ptrv <address@hidden>

    Set company-template-nav-map as parent of company-template-field-map
    
    In order to be able to forward a field while company-template-field-map is
    active, we need to set company-template-nav-map as parent.
---
 company-template.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/company-template.el b/company-template.el
index f77f365..930e638 100644
--- a/company-template.el
+++ b/company-template.el
@@ -37,6 +37,7 @@
 
 (defvar company-template-field-map
   (let ((keymap (make-sparse-keymap)))
+    (set-keymap-parent keymap company-template-nav-map)
     (define-key keymap (kbd "C-d") 'company-template-clear-field)
     keymap))
 



reply via email to

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