* lisp/erc/erc.el (erc-accidental-paste-threshold-seconds): Doc tweak.

* etc/NEWS: Related markup.
This commit is contained in:
Glenn Morris 2014-01-30 22:39:51 -08:00
parent fbb764b8bc
commit 23dc6d0ccd
3 changed files with 9 additions and 5 deletions

View file

@ -512,6 +512,7 @@ that means: when one of the recipients of the message being encrypted
is `foo@bar.com', ignore that name as regards encryption.
This is useful to avoid a query when you have no key for that name.
---
** New ERC option `erc-accidental-paste-threshold-seconds'.
If set to a number, this can be used to avoid accidentally pasting large
amounts of data into the ERC input.

View file

@ -1,3 +1,7 @@
2014-01-31 Glenn Morris <rgm@gnu.org>
* erc.el (erc-accidental-paste-threshold-seconds): Doc tweak.
2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
* erc.el (erc): Link to info manual.

View file

@ -5190,11 +5190,10 @@ If that function has never been called, the value is 0.")
(defcustom erc-accidental-paste-threshold-seconds nil
"Minimum time, in seconds, before sending new lines via IRC.
If the value is a number, `erc-send-current-line' signals an
error if its previous invocation was less than this much time
ago. This is useful so that if you accidentally enter large
amounts of text into the ERC buffer, that text is not sent to the
IRC server.
If the value is a number, `erc-send-current-line' signals an error
if its previous invocation was fewer than this many seconds ago.
This is useful so that if you accidentally enter large amounts of text
into the ERC buffer, that text is not sent to the IRC server.
If the value is nil, `erc-send-current-line' always considers any
submitted line to be intentional."