diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2019-06-13 02:03:55 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2019-06-13 02:29:57 +0200 |
commit | db2bd19c45d0b0eae439cec9c5d2009412490510 (patch) | |
tree | a843a16bad2dd11492b71f45eb263f06c7dee62b /lisp/erc | |
parent | fb69593f60350e9ac4fceeacd9b81e1ec474600e (diff) | |
download | emacs-db2bd19c45d0b0eae439cec9c5d2009412490510.tar.gz |
Add comment to clarify the use of `str'
Diffstat (limited to 'lisp/erc')
-rw-r--r-- | lisp/erc/erc.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index d1fa5c7f120..ddfa7a3e15c 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el @@ -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) |