[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
`align-regexp' fails in Lisp code
From: |
Raffaele Ricciardi |
Subject: |
`align-regexp' fails in Lisp code |
Date: |
Wed, 10 Jul 2013 02:11:42 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 |
Hello everyone,
I'm trying to run `align-regexp' from Lisp code, but it fails with
the error "align-region: Marker does not point anywhere".
Here is the specification of `align-regexp':
---
(align-regexp BEG END REGEXP &optional GROUP SPACING REPEAT)
Align the current region using an ad-hoc rule read from the
minibuffer. BEG and END mark the limits of the region.
---
Here is my Lisp code:
(align-regexp (point-min) (point-max) " hides ")
Marking the whole buffer and calling `align-regexp' interactively does
work, though.
Tried with "emacs -Q". I'm using GNU Emacs 24.3.1.
Thank you for your attention.
- `align-regexp' fails in Lisp code,
Raffaele Ricciardi <=
Re: `align-regexp' fails in Lisp code, Le Wang, 2013/07/09
Re: `align-regexp' fails in Lisp code, Jambunathan K, 2013/07/12