swift-emacs / swift-mode

Emacs support for Apple's Swift programming language.
GNU General Public License v3.0
363 stars 47 forks source link

File header error #141

Closed sunitjoshi closed 6 years ago

sunitjoshi commented 6 years ago

I did a package install-file swift-mode-pkg.el and it gave me a "Package lacks a file header" error. I'm on Emacs 25.1.1.

taku0 commented 6 years ago

Please execute M-x package-install-file swift-mode-2.3.0.tar. I will update the README.md. Thanks.

sunitjoshi commented 6 years ago

Thanks, this worked on emacs 25. On 24.5 I get an error "package.el is not yet initialized".

sunitjoshi commented 6 years ago

My bad, didn't have (package-initialize), in my .emacs. It worked after I evaluated that statement.