* erc/erc-button.el (erc-nick-popup): Make `nick' available in the eval

environment.

Fixes: debbugs:15969
This commit is contained in:
Glenn Morris 2013-11-24 19:25:13 -08:00
parent 1b98c9ab5c
commit 1288751c49
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2013-11-25 Glenn Morris <rgm@gnu.org>
* erc-button.el (erc-nick-popup): Make `nick' available in the
eval environment. (Bug#15969)
2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
* erc-pcomplete.el (erc-pcomplete): Set this-command.

View file

@ -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)