(ert-deftest foo ()
(assert nil))
Now: M-x ert RET foo RET
Emacs makes discovery easier.
- M-x apropos
- M-x apropos-command
- M-x apropos-variable
(bind-key "C-c e b" 'do-eval-buffer)
(bind-key "C-c e e" 'toggle-debug-on-error)
(bind-key "C-c e f" 'emacs-lisp-byte-compile-and-load)
(bind-key "C-c e r" 'eval-region)
(bind-key "C-c e s" 'scratch)
(bind-key "C-h e" 'lisp-find-map)
(bind-key "C-h e e" 'view-echo-area-messages)
(bind-key "C-h e f" 'find-function)
(bind-key "C-h e k" 'find-function-on-key)
(bind-key "C-h e l" 'find-library)
(bind-key "C-h e v" 'find-variable)
(bind-key "C-h e V" 'apropos-value)
(add-hook 'after-save-hook 'check-parens nil t)
(let (a)
(progn
(foo (hello-world))))
(memory-use-counts)
(((lambda (x) (+ x 1))))