GNU bug report logs - #18936
ERC: lexical-binding in 24.4 breaks erc-send-pre-hook

Previous Next

Package: emacs;

Reported by: xristos <xristos <at> sdf.lonestar.org>

Date: Mon, 3 Nov 2014 16:41:01 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: xristos <xristos <at> sdf.lonestar.org>
To: 18936 <at> debbugs.gnu.org
Subject: bug#18936: ERC: lexical-binding in 24.4 breaks erc-send-pre-hook
Date: Mon, 03 Nov 2014 10:00:46 -0500
From erc.el, erc-send-pre-hook documentation:

"To change the text that will be sent, set the variable STR which is
used in `erc-send-current-line'."

From erc.el:5272, function `erc-send-input'

    (let ((str input)
	  (erc-insert-this t))
      (setq erc-send-this t)
      (run-hook-with-args 'erc-send-pre-hook input)

STR is dynamically bound.






This bug report was last modified 10 years and 284 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.