We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2686c7e + 67901f1 commit e813c14Copy full SHA for e813c14
yasnippet-snippets.el
@@ -45,7 +45,10 @@
45
;;;###autoload
46
(defun yasnippet-snippets-initialize ()
47
"Load the `yasnippet-snippets' snippets directory."
48
- (add-to-list 'yas-snippet-dirs yasnippet-snippets-dir t)
+ ;; NOTE: we add the symbol `yasnippet-snippets-dir' rather than its
49
+ ;; value, so that yasnippet will automatically find the directory
50
+ ;; after this package is updated (i.e., moves directory).
51
+ (add-to-list 'yas-snippet-dirs 'yasnippet-snippets-dir t)
52
(yas-load-directory yasnippet-snippets-dir t))
53
54
(defgroup yasnippet-snippets nil
0 commit comments