]> git.eshelyaron.com Git - emacs.git/commitdiff
ERC: Do not include text properties when returning user input.
authorMichael Olson <mwolson@gnu.org>
Sat, 3 Jan 2009 23:11:06 +0000 (23:11 +0000)
committerMichael Olson <mwolson@gnu.org>
Sat, 3 Jan 2009 23:11:06 +0000 (23:11 +0000)
lisp/erc/ChangeLog
lisp/erc/erc.el

index cdbfbd669d6ae8f2615d8657eb074ef79a99cf59..f5dab2b01967ba4b6a767d1849c5f5e79f6d2161 100644 (file)
@@ -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
index fc0d7b58b0cec60066cb4f3d1108e51344345fc4..8638eb054e030f27198283103cf1760cdffcbea3 100644 (file)
@@ -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)))