From: Michael Olson Date: Sat, 3 Jan 2009 23:11:06 +0000 (+0000) Subject: ERC: Do not include text properties when returning user input. X-Git-Tag: emacs-pretest-23.0.90~719 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bd7101497913c5bb68e4cf2d6bad86053c2d679c;p=emacs.git ERC: Do not include text properties when returning user input. --- 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)))