help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: align-regexp problem when called from lisp code


From: Luca Ferrari
Subject: Re: align-regexp problem when called from lisp code
Date: Fri, 9 Aug 2013 08:08:32 +0200

On Thu, Aug 8, 2013 at 1:57 PM, Luca Ferrari <fluca1978@infinito.it> wrote:
> On Thu, Aug 8, 2013 at 1:32 PM, Tassilo Horn <tsdh@gnu.org> wrote:
>
>> --8<---------------cut here---------------start------------->8---
>> (defun fluca1978/align-assignments (beg end)
>>   (interactive "r")
>>   (align-regexp beg end "\\(\\s-*\\)="))
>> --8<---------------cut here---------------end--------------->8---
>

Uhm...just for curiosity, what kind of regexp should I use if I want
also to align all comment starting (/*) in every row?

Thanks,
Luca



reply via email to

[Prev in Thread] Current Thread [Next in Thread]