mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13:04 +00:00
* yasnippet.el (yas-field-value): Fix docstring.
This commit is contained in:
parent
3032337831
commit
d364425176
@ -2946,7 +2946,8 @@ Otherwise signal `yas-exception'."
|
|||||||
(defun yas-field-value (number)
|
(defun yas-field-value (number)
|
||||||
"Get the string for field with 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)))
|
(let* ((snippet (car (yas-active-snippets)))
|
||||||
(field (and snippet
|
(field (and snippet
|
||||||
(yas--snippet-find-field snippet number))))
|
(yas--snippet-find-field snippet number))))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user