emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master db2bd19 1/2: Add comment to clarify the use of `str


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master db2bd19 1/2: Add comment to clarify the use of `str'
Date: Wed, 12 Jun 2019 20:30:10 -0400 (EDT)

branch: master
commit db2bd19c45d0b0eae439cec9c5d2009412490510
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Add comment to clarify the use of `str'
---
 lisp/erc/erc.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el
index d1fa5c7..ddfa7a3 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]