From c8d2553bd424e45872a1fe4f94c8be291eea5dc1 Mon Sep 17 00:00:00 2001 From: Thomas Fitzsimmons Date: Thu, 13 Nov 2014 01:13:34 -0500 Subject: [PATCH] Ignore text properties in eudc-expand-inline * net/eudc.el (eudc-expand-inline): Ignore text properties of string-to-expand. --- lisp/ChangeLog | 5 +++++ lisp/net/eudc.el | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4b3b30347bb..52bf8237f3d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2014-11-13 Thomas Fitzsimmons + + * net/eudc.el (eudc-expand-inline): Ignore text properties of + string-to-expand. + 2014-11-13 Thomas Fitzsimmons * net/eudc-vars.el (eudc-inline-expansion-format): Default to a diff --git a/lisp/net/eudc.el b/lisp/net/eudc.el index e038b280979..54a41f02fb0 100644 --- a/lisp/net/eudc.el +++ b/lisp/net/eudc.el @@ -830,7 +830,8 @@ see `eudc-inline-expansion-servers'" (point-at-bol) 'move) (goto-char (match-end 0))) (point))) - (query-words (split-string (buffer-substring beg end) "[ \t]+")) + (query-words (split-string (buffer-substring-no-properties beg end) + "[ \t]+")) query-formats response response-string -- 2.39.5