title: .emacs global-set-key and calling interactive function with argument
body: <p>In my .emacs i have the following function that transposes a line</p>
  
  <pre><code>(defun move-line (n)
     "Move the current line up or down by N lines."
     (interactive "p")
     (let ((col (current-column))
           start
           end)
       (beginning-of-line)
       (setq start (point))
       (end-of-line)
       (forward-char)
       (setq end (point))
       (let ((line-text (delete-and-extract-region start end)))
         (forward-line n)
         (insert line-text)
         ;; restore point to original column in moved line
         (forward-line -1)
         (forward-char col))))
  </code></pre>
  
  <p>And I bind a key to it like this</p>
  
  <pre><code>(global-set-key (kbd "M-&lt;down&gt;") 'move-line)
  ;; this is the same as M-x global-set-key &lt;return&gt;
  </code></pre>
  
  <p>However, I want to bind M-up to move-line (-1) But I cant seem to be able to do it correctly:</p>
  
  <pre><code>;; M-- M-1 M-x global-set-key &lt;return&gt;
  </code></pre>
  
  <p>How do I define the above using global-set-key to call move-line -1?</p>