Skip to content

Instantly share code, notes, and snippets.

@paxperscientiam
Last active November 11, 2015 20:45
Show Gist options
  • Save paxperscientiam/41ef611e2c444db3448c to your computer and use it in GitHub Desktop.
Save paxperscientiam/41ef611e2c444db3448c to your computer and use it in GitHub Desktop.
Kill emacs list expression result.
;; props to #emacs
(define-key global-map (kbd "C-x C-j")
(lambda (arg)
"RTM"
(interactive "P")
(kill-new (format "%s" (eval-last-sexp arg)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment