Skip to content

Commit 8e715c6

Browse files
authored
Merge pull request #301 from AndreaCrotti/notetiene-master
add customization group
2 parents 796a316 + b62f9ae commit 8e715c6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

yasnippet-snippets.el

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,20 @@
4444

4545
;;;###autoload
4646
(defun yasnippet-snippets-initialize ()
47+
"Load the `yasnippet-snippets' snippets directory."
4748
(add-to-list 'yas-snippet-dirs 'yasnippet-snippets-dir t)
4849
(yas-load-directory yasnippet-snippets-dir t))
4950

51+
(defgroup yasnippet-snippets nil
52+
"Options for yasnippet setups.
53+
54+
This is useful for customizing options declared in
55+
“.yas-setup.el” files. For example, you could declare a
56+
customizable variable used for a snippet expansion.
57+
58+
See Info node `(elisp)Customization Types'."
59+
:group 'yasnippet)
60+
5061
;;;###autoload
5162
(eval-after-load 'yasnippet
5263
'(yasnippet-snippets-initialize))

0 commit comments

Comments
 (0)