Commit db2bd19c authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

Add comment to clarify the use of `str'

parent fb69593f
......@@ -5443,6 +5443,8 @@ This returns non-nil only if we actually send anything."
(let ((str input)
(erc-insert-this t))
(setq erc-send-this t)
;; The calling convention of `erc-send-pre-hook' is that it
;; should change the dynamic variable `str'.
(run-hook-with-args 'erc-send-pre-hook input)
(when erc-send-this
(if (or (string-match "\n" str)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment