* yasnippet.el (yas-field-value): Fix docstring.

This commit is contained in:
Noam Postavsky 2018-02-18 07:46:06 -05:00
parent 3032337831
commit d364425176

View File

@ -2946,7 +2946,8 @@ Otherwise signal `yas-exception'."
(defun yas-field-value (number)
"Get the string for field with NUMBER.
Use this in primary and mirror transformations to tget."
Use this in primary and mirror transformations to get the text of
other fields."
(let* ((snippet (car (yas-active-snippets)))
(field (and snippet
(yas--snippet-find-field snippet number))))