emacs creating function

view full story

http://unix.stackexchange.com – Sometimes I justify text in emacs using C-u 70 M-x fill-region. I would like to have a function in .emacs file that has a parameter so that I can use a shortcut to call the function instead of having to do C-u 70 fill-region. I would have 2 shortcuts, one uses default 70 and another asks for a parameter. I'm very new to emacs programming but I've been using emacs for a while now. If there is a solution for this, could you explain what exactly happens? (HowTos)