I am trying to pass arguments to the align-regexp function in Emacs (Lisp):
(defun align-on-comment-char ()
(interactive)
(align-regexp (region-beginning) (region-end) "#")
)
I would actually like to do this for all my modes specifically, where for each mode I want to bind an "align to comment character (;
for emacs lisp, %
for Latex, #
for R)".
What am I missing?