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: Thu, 8 Aug 2013 13:57:21 +0200

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---

Thanks, the problem was with the regular expression, not with the
region itself (i.e., I don't need to declare the function as accepting
a region).

Luca



reply via email to

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