Skip to content

Instantly share code, notes, and snippets.

@mbriggs
Created November 22, 2011 03:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbriggs/1384806 to your computer and use it in GitHub Desktop.
Save mbriggs/1384806 to your computer and use it in GitHub Desktop.
(defun test ()
(let ((a 1)
(b (+ a 2)))
(message b)))
(test)
Debugger entered--Lisp error: (void-variable a)
(+ a 2)
(let ((a 1) (b ...)) (message b))
test()
eval((test))
eval-last-sexp-1(nil)
eval-last-sexp(nil)
call-interactively(eval-last-sexp record nil)
command-execute(eval-last-sexp record)
smex-read-and-run(("eval-last-sexp" "describe-function" "eval-expression" "find-file" "magit-status" "auto-complete-mode" "beginning-of-line" "build-ctags" "eval-buffer" "clojure-jack-in" "ack" "describe-variable" "shell-command" "package-install" "end-of-line" "rinari-test" "describe-face" "el-get-install" "yari" "zap-to-char" "describe-key" "auto-complete" "ack-and-a-half" "package-list-packages" "rainbow-delimiters-mode" "cd" "lm" "5x5" "arp" "dbx" "dig" "erc" "ftp" "gdb" "irc" "jdb" "man" "mpc" "pdb" "pwd" "rsh" "sdb" "xdb" "yow" "calc" "diff" "dirs" "ffap" "gdba" "gnus" ...))
smex()
call-interactively(smex nil nil)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment