aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/erc
diff options
context:
space:
mode:
authorMichael Olson <[email protected]>2009-01-03 23:11:06 +0000
committerMichael Olson <[email protected]>2009-01-03 23:11:06 +0000
commitbd7101497913c5bb68e4cf2d6bad86053c2d679c (patch)
treef59eda7f728c630af305ef41cbacdd648a4024e3 /lisp/erc
parent35203a24f154742e0122b7c809397d67c76cfb2c (diff)
ERC: Do not include text properties when returning user input.
Diffstat (limited to 'lisp/erc')
-rw-r--r--lisp/erc/ChangeLog5
-rw-r--r--lisp/erc/erc.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog
index cdbfbd669d..f5dab2b019 100644
--- a/lisp/erc/ChangeLog
+++ b/lisp/erc/ChangeLog
@@ -1,3 +1,8 @@
+2009-01-03 Michael Olson <[email protected]>
+
+ * erc.el (erc-user-input): Do not include text properties when
+ returning user input.
+
2008-11-19 Andy Stewart <[email protected]>
* erc.el (erc-header-line-uses-tabbar-p): New option that makes
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el
index fc0d7b58b0..8638eb054e 100644
--- a/lisp/erc/erc.el
+++ b/lisp/erc/erc.el
@@ -5097,7 +5097,7 @@ Specifically, return the position of `erc-insert-marker'."
(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)))