I keep forgetting emacs terminology for Select All, so I'd like to add a new emacs command so that I can type M-x select-all RET and have it run mark-whole-buffer.
I tried adding this to my .emacs file:
(defun select-all () (mark-whole-buffer))
or this:
(defun select-all () (interactive) (mark-whole-buffer))
But these don't seem to put the names in the right "namespace" to be access via M-x, how do I get them in the right namespace?
Thanks, -Shawn