changeset 100873:be51a6e9224f

ERC: Do not include text properties when returning user input.
author Michael Olson <mwolson@gnu.org>
date Sat, 03 Jan 2009 23:11:06 +0000
parents c6aed22590ab
children 8698a8bb7d0e
files lisp/erc/ChangeLog lisp/erc/erc.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/erc/ChangeLog	Sat Jan 03 23:08:26 2009 +0000
+++ b/lisp/erc/ChangeLog	Sat Jan 03 23:11:06 2009 +0000
@@ -1,3 +1,8 @@
+2009-01-03  Michael Olson  <mwolson@gnu.org>
+
+	* erc.el (erc-user-input): Do not include text properties when
+	returning user input.
+
 2008-11-19  Andy Stewart  <lazycat.manatee@gmail.com>
 
 	* erc.el (erc-header-line-uses-tabbar-p): New option that makes
--- a/lisp/erc/erc.el	Sat Jan 03 23:08:26 2009 +0000
+++ b/lisp/erc/erc.el	Sat Jan 03 23:11:06 2009 +0000
@@ -5097,7 +5097,7 @@
 
 (defun erc-user-input ()
   "Return the input of the user in the current buffer."
-  (buffer-substring
+  (buffer-substring-no-properties
    erc-input-marker
    (erc-end-of-input-line)))