emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 071680b: Enable erc-accidental-paste-threshold-seco


From: Mark Oteiza
Subject: [Emacs-diffs] master 071680b: Enable erc-accidental-paste-threshold-seconds by default
Date: Fri, 17 Feb 2017 18:41:03 -0500 (EST)

branch: master
commit 071680b734f54733614e355ce4b89bd2300a632b
Author: Mark Oteiza <address@hidden>
Commit: Mark Oteiza <address@hidden>

    Enable erc-accidental-paste-threshold-seconds by default
    
    * lisp/erc/erc.el (erc-accidental-paste-threshold-seconds): Set
    default to 0.2 (Bug#25709).
---
 lisp/erc/erc.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el
index 751bcde..488404d 100644
--- a/lisp/erc/erc.el
+++ b/lisp/erc/erc.el
@@ -5331,7 +5331,7 @@ Specifically, return the position of `erc-insert-marker'."
   "Time of last call to `erc-send-current-line'.
 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.
 If the value is a number, `erc-send-current-line' signals an error
 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
 submitted line to be intentional."
   :group 'erc
-  :version "24.4"
+  :version "26.1"
   :type '(choice number (other :tag "disabled" nil)))
 
 (defun erc-send-current-line ()



reply via email to

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