From 1288751c496c0eeabf0b8f2c474f67332a8a460d Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sun, 24 Nov 2013 19:25:13 -0800 Subject: [PATCH] * erc/erc-button.el (erc-nick-popup): Make `nick' available in the eval environment. Fixes: debbugs:15969 --- lisp/erc/ChangeLog | 5 +++++ lisp/erc/erc-button.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog index 5856a592ebf..f7a998c5e0e 100644 --- a/lisp/erc/ChangeLog +++ b/lisp/erc/ChangeLog @@ -1,3 +1,8 @@ +2013-11-25 Glenn Morris + + * erc-button.el (erc-nick-popup): Make `nick' available in the + eval environment. (Bug#15969) + 2013-11-04 Stefan Monnier * erc-pcomplete.el (erc-pcomplete): Set this-command. diff --git a/lisp/erc/erc-button.el b/lisp/erc/erc-button.el index 751a35dfdff..a124954498d 100644 --- a/lisp/erc/erc-button.el +++ b/lisp/erc/erc-button.el @@ -514,7 +514,7 @@ Examples: (code (cdr (assoc action erc-nick-popup-alist)))) (when code (erc-set-active-buffer (current-buffer)) - (eval code)))) + (eval code `((nick . ,nick)))))) ;;; Callback functions (defun erc-button-describe-symbol (symbol-name) -- 2.39.2