emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 4c16eae 119/177: Document uuid directive


From: João Távora
Subject: [elpa] master 4c16eae 119/177: Document uuid directive
Date: Sat, 28 Mar 2015 15:41:20 +0000

branch: master
commit 4c16eaee0e5142da2a2780259254a017a0feb7bf
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>

    Document uuid directive
    
    * doc/snippet-development.org: Mention uuid in directive list.
    * yasnippet.el (yas-define-snippets): Fix docstring grammar.
---
 doc/snippet-development.org |    6 ++++++
 yasnippet.el                |    4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/doc/snippet-development.org b/doc/snippet-development.org
index e48e397..fb9b94a 100644
--- a/doc/snippet-development.org
+++ b/doc/snippet-development.org
@@ -169,6 +169,12 @@ This binding will be recorded in the keymap 
=html-mode-map=. To expand a
 paragraph tag newlines, just press =C-u C-c C-c C-m=. Omitting the =C-u=
 will expand the paragraph tag without newlines.
 
+** =# uuid:= unique identifier
+
+This provides to a way to identify a snippet, independent of its name.
+Loading a second snippet file with the same uuid would replace the
+previous snippet.
+
 ** =# contributor:= snippet author
 
 This is optional and has no effect whatsoever on snippet functionality,
diff --git a/yasnippet.el b/yasnippet.el
index eeea636..43564ff 100644
--- a/yasnippet.el
+++ b/yasnippet.el
@@ -1631,8 +1631,8 @@ The remaining elements are strings.
 FILE is probably of very little use if you're programatically
 defining snippets.
 
-UUID is the snippets \"unique-id\". Loading a second snippet file
-with the same uuid replaced the previous snippet.
+UUID is the snippet's \"unique-id\". Loading a second snippet
+file with the same uuid would replace the previous snippet.
 
 You can use `yas--parse-template' to return such lists based on
 the current buffers contents."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]