From bd7101497913c5bb68e4cf2d6bad86053c2d679c Mon Sep 17 00:00:00 2001 From: Michael Olson Date: Sat, 3 Jan 2009 23:11:06 +0000 Subject: [PATCH] ERC: Do not include text properties when returning user input. --- lisp/erc/ChangeLog | 5 +++++ lisp/erc/erc.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog index cdbfbd669d6..f5dab2b0196 100644 --- a/lisp/erc/ChangeLog +++ b/lisp/erc/ChangeLog @@ -1,3 +1,8 @@ +2009-01-03 Michael Olson + + * erc.el (erc-user-input): Do not include text properties when + returning user input. + 2008-11-19 Andy Stewart * 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 fc0d7b58b0c..8638eb054e0 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))) -- 2.39.2