]> git.eshelyaron.com Git - emacs.git/commitdiff
Add comment to clarify the use of `str'
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 13 Jun 2019 00:03:55 +0000 (02:03 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 13 Jun 2019 00:29:57 +0000 (02:29 +0200)
lisp/erc/erc.el

index d1fa5c7f12076bb8b281123571067683d5a0a711..ddfa7a3e15c712e6e9aa31897c11a47027c26514 100644 (file)
@@ -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)