[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "reference to free variable" only during initialization
From: |
Noam Postavsky |
Subject: |
Re: "reference to free variable" only during initialization |
Date: |
Sun, 19 Feb 2017 08:44:31 -0500 |
On Sun, Feb 19, 2017 at 7:32 AM, Yuri D'Elia <address@hidden> wrote:
>
> Understood. But then, back to the original issue: can you explain the
> warning? modeline-posn doesn't seem to be doing strange things here.
>
At the end of the (defadvice isearch-query-replace-regexp ...) there is
`(lambda () (setq modelinepos-region-acting-on ',isearchp-reg-beg))
This uses isearch-reg-beg without checking if it's boundp (the other
occurences do have a boundp check first).