changeset 94126:908993cbed5e

ERC: (erc-remove-text-properties-region): Disable this command by default.
author Michael Olson <mwolson@gnu.org>
date Thu, 17 Apr 2008 05:02:14 +0000
parents 894b44742e96
children fb606df96242
files lisp/erc/ChangeLog lisp/erc/erc.el
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/erc/ChangeLog	Thu Apr 17 05:00:21 2008 +0000
+++ b/lisp/erc/ChangeLog	Thu Apr 17 05:02:14 2008 +0000
@@ -1,3 +1,8 @@
+2008-04-14  Michael Olson  <mwolson@gnu.org>
+
+	* erc.el (erc-remove-text-properties-region): Disable this command
+	by default.  Thanks to e1f for the suggestion.
+
 2008-02-20  Michael Olson  <mwolson@gnu.org>
 
 	* erc.el (erc-notice-face): Fix this face for Emacs 21 users.
--- a/lisp/erc/erc.el	Thu Apr 17 05:00:21 2008 +0000
+++ b/lisp/erc/erc.el	Thu Apr 17 05:02:14 2008 +0000
@@ -5477,6 +5477,7 @@
   (save-excursion
     (let ((inhibit-read-only t))
       (set-text-properties start end nil object))))
+(put 'erc-remove-text-properties-region 'disabled t)
 
 ;; script execution and startup