docstring fixes

yas--prompt-function -> yas-prompt-functions
yas-fallback-behaviour -> yas-fallback-behavior
This commit is contained in:
Noam Postavsky 2013-11-28 23:25:15 -05:00
parent f86529c96f
commit a9e303525c

View File

@ -2346,7 +2346,7 @@ Honours `yas-choose-tables-first', `yas-choose-keys-first' and
(defun yas-insert-snippet (&optional no-condition) (defun yas-insert-snippet (&optional no-condition)
"Choose a snippet to expand, pop-up a list of choices according "Choose a snippet to expand, pop-up a list of choices according
to `yas--prompt-function'. to `yas-prompt-functions'.
With prefix argument NO-CONDITION, bypass filtering of snippets With prefix argument NO-CONDITION, bypass filtering of snippets
by condition." by condition."
@ -4311,7 +4311,7 @@ When multiple expressions are found, only the last one counts."
"do nothing (`yas-expand' doesn't shadow\nanything)."))) "do nothing (`yas-expand' doesn't shadow\nanything).")))
((eq yas-fallback-behavior 'return-nil) ((eq yas-fallback-behavior 'return-nil)
"do nothing.") "do nothing.")
(t "defer to `yas-fallback-behaviour' (which see).")))) (t "defer to `yas-fallback-behavior' (which see)."))))
(concat "Expand a snippet before point. If no snippet (concat "Expand a snippet before point. If no snippet
expansion is possible, " expansion is possible, "
fallback-description fallback-description