diff options
author | Michael Olson <[email protected]> | 2009-01-03 23:11:06 +0000 |
---|---|---|
committer | Michael Olson <[email protected]> | 2009-01-03 23:11:06 +0000 |
commit | bd7101497913c5bb68e4cf2d6bad86053c2d679c (patch) | |
tree | f59eda7f728c630af305ef41cbacdd648a4024e3 | |
parent | 35203a24f154742e0122b7c809397d67c76cfb2c (diff) |
ERC: Do not include text properties when returning user input.
-rw-r--r-- | lisp/erc/ChangeLog | 5 | ||||
-rw-r--r-- | lisp/erc/erc.el | 2 |
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))) |