cleanup: minor whitespace and doc cleanup

This commit is contained in:
Joao Tavora 2012-05-21 14:48:08 +01:00
parent 4f846f2c36
commit a7b78cf198

View File

@ -1911,7 +1911,10 @@ the current buffers contents."
template)) template))
(defun yas/snippet-menu-binding-pair-get-create (template &optional type) (defun yas/snippet-menu-binding-pair-get-create (template &optional type)
"Get TEMPLATE's menu binding or assign it a new one." "Get TEMPLATE's menu binding or assign it a new one.
TYPE may be `:stay', signalling this menu binding should be
static in the menu."
(or (yas/template-menu-binding-pair template) (or (yas/template-menu-binding-pair template)
(let ((key (yas/template-key template)) (let ((key (yas/template-key template))
(keybinding (yas/template-keybinding template))) (keybinding (yas/template-keybinding template)))
@ -1965,7 +1968,7 @@ MENU is a list, its elements can be:
- (yas/item UUID) : Creates an entry the snippet identified with - (yas/item UUID) : Creates an entry the snippet identified with
UUID. The menu entry for a snippet thus identified is UUID. The menu entry for a snippet thus identified is
permanent, i.e. it will never move in the menu. permanent, i.e. it will never move (be reordered) in the menu.
- (yas/separator) : Creates a separator - (yas/separator) : Creates a separator