1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-03 08:30:09 +00:00

Enable erc-accidental-paste-threshold-seconds by default

* lisp/erc/erc.el (erc-accidental-paste-threshold-seconds): Set
default to 0.2 (Bug#25709).
This commit is contained in:
Mark Oteiza 2017-02-17 18:38:09 -05:00
parent 9f9863e502
commit 071680b734

View File

@ -5331,7 +5331,7 @@ Specifically, return the position of `erc-insert-marker'."
"Time of last call to `erc-send-current-line'. "Time of last call to `erc-send-current-line'.
If that function has never been called, the value is 0.") If that function has never been called, the value is 0.")
(defcustom erc-accidental-paste-threshold-seconds nil (defcustom erc-accidental-paste-threshold-seconds 0.2
"Minimum time, in seconds, before sending new lines via IRC. "Minimum time, in seconds, before sending new lines via IRC.
If the value is a number, `erc-send-current-line' signals an error If the value is a number, `erc-send-current-line' signals an error
if its previous invocation was fewer than this many seconds ago. if its previous invocation was fewer than this many seconds ago.
@ -5341,7 +5341,7 @@ 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 If the value is nil, `erc-send-current-line' always considers any
submitted line to be intentional." submitted line to be intentional."
:group 'erc :group 'erc
:version "24.4" :version "26.1"
:type '(choice number (other :tag "disabled" nil))) :type '(choice number (other :tag "disabled" nil)))
(defun erc-send-current-line () (defun erc-send-current-line ()