Created
November 9, 2011 19:47
-
-
Save martinbalfanz/1352722 to your computer and use it in GitHub Desktop.
eval and execute current defun
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; e.g. bind to C-c C-e in emacs-lisp-mode | |
(defun mb-eval-and-execute () | |
"Evaluate and execute current defun." | |
(interactive) | |
(funcall (eval-defun-2))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment