Subject: bug#9583: 24.0.50; erc button-next-function assumes lexical binding invalidly

From: Antoine Levitt <[email-masked]>
Date: Fri, 23 Sep 2011 08:40:03 +0200

23/09/11 05:19, Evan Izaksonas-Smith
> Start Emacs however you like, go to any location in the buffer besided
> the input line and hit TAB.  The message: "completion-at-point: Symbol's
> value as variable is void: here" will appear.  this is solved by
> changing line 433 from
>
> (let ((here (point)))
> to
> (lexical-let ((here (point)))

Yes, see also bug #9487. This solution is more elegant than the one
posted there. Someone please apply this.