public
Last active

Installing mustache-mode.el

  • Download Gist
installing-mustache-mode.el
Emacs Lisp
1 2 3 4 5 6 7
;;
;; $ cd ~/.emacs.d/vendor
;; $ wget http://github.com/defunkt/mustache/raw/master/contrib/mustache-mode.el
;; In your emacs config:
 
(add-to-list 'load-path "~/.emacs.d/vendor/mustache-mode.el")
(require 'mustache)

if wget do not works for anyone, use curl
curl https://github.com/defunkt/mustache/raw/master/contrib/mustache-mode.el > mustache-mode.el

I needed to use:

(require 'mustache-mode)

Thanks @idlecool and @jroes!

Yeah, you need to specify the raw url like bsnux or just tell curl to follow redirects. So this works as well:

curl -L -O https://github.com/mustache/emacs/raw/master/mustache-mode.el

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.