Skip to content

Instantly share code, notes, and snippets.

View mwolson's full-sized avatar

Mike Olson mwolson

View GitHub Profile
@mwolson
mwolson / swank-js-init.el
Last active December 15, 2015 01:19
Attaching to a swank-js node.js server using SLIME and Emacs
;; Improved Javascript support
(add-to-list 'load-path (concat my-emacs-path "/elisp/js2-mode"))
(autoload 'js2-mode "js2-mode" nil t)
(add-to-list 'auto-mode-alist '("\\.js$" . js2-mode))
;; Node REPL using SLIME
(add-to-list 'load-path (concat my-emacs-path "/elisp/slime"))
(add-to-list 'load-path (concat my-emacs-path "/elisp/slime/contrib"))
(require 'slime)
(autoload 'slime-js-minor-mode "slime-js" nil t)
@mwolson
mwolson / erc-solarized.el
Created December 4, 2012 22:08
Make ERC look nice with some themes
;;; Assumptions:
;;
;; - Solarized (dark) theme has already been loaded
;; https://github.com/sellout/emacs-color-theme-solarized
;;
;; - Nicks in ERC buffer before running this code may look weird.
;; New activity in ERC buffer after running this code should look OK.
(defun mwolson/make-erc-themeable ()
(interactive)