What's the key sequence to run a function by typing the function name in emacs?

Posted by paracaudex on Super User See other posts from Super User or by paracaudex
Published on 2010-03-17T19:52:34Z Indexed on 2010/03/17 20:01 UTC
Read the original article Hit count: 231

Filed under:

Suppose I add a new word count function to my .emacs file to count words:

(defun word-count nil "Count words in buffer" (interactive) (shell-command-on-region (point-min) (point-max) "wc -w"))

I remember there being a way to run a function by typing the function name, but I don't remember how. What key sequence do I type before I type word-count, enter?

© Super User or respective owner

Related posts about emacs