diff options
| author | Lars Ingebrigtsen | 2019-06-13 02:03:55 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-06-13 02:29:57 +0200 |
| commit | db2bd19c45d0b0eae439cec9c5d2009412490510 (patch) | |
| tree | a843a16bad2dd11492b71f45eb263f06c7dee62b | |
| parent | fb69593f60350e9ac4fceeacd9b81e1ec474600e (diff) | |
| download | emacs-db2bd19c45d0b0eae439cec9c5d2009412490510.tar.gz emacs-db2bd19c45d0b0eae439cec9c5d2009412490510.zip | |
Add comment to clarify the use of `str'
| -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." | |||
| 5443 | (let ((str input) | 5443 | (let ((str input) |
| 5444 | (erc-insert-this t)) | 5444 | (erc-insert-this t)) |
| 5445 | (setq erc-send-this t) | 5445 | (setq erc-send-this t) |
| 5446 | ;; The calling convention of `erc-send-pre-hook' is that it | ||
| 5447 | ;; should change the dynamic variable `str'. | ||
| 5446 | (run-hook-with-args 'erc-send-pre-hook input) | 5448 | (run-hook-with-args 'erc-send-pre-hook input) |
| 5447 | (when erc-send-this | 5449 | (when erc-send-this |
| 5448 | (if (or (string-match "\n" str) | 5450 | (if (or (string-match "\n" str) |