I'd like to put something like this in my .emacs:
(local-set-key (kbd "C-c a =")
(lambda () (interactive)
(align-regexp (region-beginning) (region-end) "=")))
But whenever I run it, I get an error "Wrong type argument: numberp, nil".
What does this error mean and how do I get the effect I'm looking for?