Make erc-current-logfile work with explicit parameter
commit94b9fe59986c368ac2bb1024d3487dea73658788
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 14 Apr 2018 19:18:51 +0000 (14 21:18 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 14 Apr 2018 19:18:51 +0000 (14 21:18 +0200)
tree313822dfa646f47ae43214b626c3dc918893b754
parent7e012d038422605e44afbc916769e51f6682dbce
Make erc-current-logfile work with explicit parameter

* lisp/erc/erc-log.el (erc-current-logfile): This function
apparently refers to buffer-local variables, so switch to the
buffer given before calculating the file name (bug#16111).
lisp/erc/erc-log.el