Open gudesh opened 11 years ago
Interesting. Which specific places did you make those changes?
However, I don't see yas/global-mode
as a fn in yasnippet.el
...
Hi Sam,
Here are the changed files under .emacs.d :
(live-add-pack-lib "yasnippet") (require 'yasnippet) (setq live-yasnippet-dir (concat live-etc-dir "snippets")) (setq yas-snippet-dirs `(,live-yasnippet-dir)) (yas/global-mode 1)
(defun live-reload-snippets () (interactive) (yas-load-directory live-yasnippet-dir))
(live-add-pack-lib "yasnippet") (require 'yasnippet) (setq live-yasnippet-dir (concat live-etc-dir "snippets")) (setq yas-snippet-dirs `(,live-yasnippet-dir)) (yas/global-mode 1)
(defun live-reload-snippets () (interactive) (yas-load-directory live-yasnippet-dir))
Is this still an issue? The fn yas/global-mode
was deprecated in favour of yas-global-mode
a while back. I've update yasnippet in the latest dev packs - perhaps you could try it out?
I saw your inspiring presentation on infoq.com and wanted to try out your special setup.
I had a problem initializing emacs (version: GNU Emacs 24.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.12) ): "Symbol's function definition is void: yas-global-mode"
I solved it (apparently) with (yas/global-mode 1) instead of (yas-global-mode 1) at various places...
I thought it might interest you...