summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-05-15 13:42:47 -0700
committerFranck Cuny <franck@fcuny.net>2022-05-15 13:55:28 -0700
commit3ce800880aa666cf64cb40757611563bf91b792f (patch)
tree3e64ded5334f5c23180aaf1f2f235503c1d2af9b
parentsnippets: header for elisp (diff)
downloademacs.d-3ce800880aa666cf64cb40757611563bf91b792f.tar.gz
snippets: configure the default path
-rw-r--r--emacs/custom/my-settings.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs/custom/my-settings.el b/emacs/custom/my-settings.el
index ebb0cc5..9477965 100644
--- a/emacs/custom/my-settings.el
+++ b/emacs/custom/my-settings.el
@@ -61,6 +61,8 @@
   (require 'exec-path-from-shell)
   (add-hook 'emacs-startup-hook (lambda () (exec-path-from-shell-initialize))))
 
+(customize-set-variable 'yas-snippet-dirs (expand-file-name "etc/snippets" user-emacs-directory))
+
 (provide 'my-settings)
 
 ;;; my-settings.el ends here