bugfix: error in yas/add-template when omit-items was used in yas/define-menu

This commit is contained in:
João Távora 2012-06-27 17:04:17 +01:00
parent 73073f9078
commit ee398f4d5a

View File

@ -1078,9 +1078,10 @@ keybinding)."
;; Update trigger & keybinding in the menu-binding pair
;;
(unless (eq (cdr menu-binding-pair) :none)
(setf (getf (cdr (car menu-binding-pair)) :keys)
(or (and keybinding (key-description keybinding))
(and key (concat key yas/trigger-symbol))))
(and key (concat key yas/trigger-symbol)))))
(puthash (yas/template-uuid template) template (yas/table-uuidhash table))))