Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace yasnippet-bundle with yasnippet #44

Merged
merged 1 commit into from
Sep 28, 2013
Merged

replace yasnippet-bundle with yasnippet #44

merged 1 commit into from
Sep 28, 2013

Conversation

DirkScharff
Copy link
Contributor

Hi Eric, this should fix your issue #42

@eschulte
Copy link
Owner

With these changes I get the following error (error "Don't know how to make a localized variable an alias"). This is thrown by (yas-global-mode 1).

Debugger entered--Lisp error: (error "Don't know how to make a localized variable an alias")
  defvaralias(yas/minor-mode yas-minor-mode)
  byte-code(... [yas--exported-syms yas--dont-backport sym --dolist-tail-- backported set-difference nil intern replace-regexp-in-string "^yas-" "yas/" symbol-name boundp make-obsolete-variable "yasnippet 0.8" defvaralias fboundp make-obsolete defalias provide yasnippet] 7)
  (yas-global-mode 1)
  eval((yas-global-mode 1) nil)
  eval-expression((yas-global-mode 1) nil)
  call-interactively(eval-expression nil nil)

@DirkScharff
Copy link
Contributor Author

Hi Eric,

I just tried again to be sure. I use Emacs 24.3. When I delete my .emacs.d and check out this starter-kit version my Emacs pulls the required packages and works fine without errors.

Which version of Emacs are you using? Did you remove the old yasnippet-bundle files from your system?

@eschulte eschulte merged commit 07378aa into eschulte:master Sep 28, 2013
@eschulte
Copy link
Owner

Thanks for looking into this, it does appear that having old yasnippet-bundle files lying around throws errrors when the new yasnippet is installed. Too bad ELPA doesn't include facilities which allow the yasnippet package to automatically remove the yasnippet-bundle package.

I've merged your changes along with a couple of lines of code to conditionally remove yasnippet-bundle if it has previously been installed.

Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants