summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Fitzsimmons <fitzsim@fitzsim.org>2014-11-13 01:13:34 -0500
committerThomas Fitzsimmons <fitzsim@fitzsim.org>2014-11-13 01:13:34 -0500
commitc8d2553bd424e45872a1fe4f94c8be291eea5dc1 (patch)
tree5262e89127f61973ba4366caa1e418f4feab235a
parentfa9a3ca5364921612824fb8c4dc4125a0eb3d64a (diff)
downloademacs-c8d2553bd424e45872a1fe4f94c8be291eea5dc1.tar.gz
Ignore text properties in eudc-expand-inline
* net/eudc.el (eudc-expand-inline): Ignore text properties of string-to-expand.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/net/eudc.el3
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4b3b30347bb..52bf8237f3d 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,10 @@
2014-11-13 Thomas Fitzsimmons <fitzsim@fitzsim.org>
+ * net/eudc.el (eudc-expand-inline): Ignore text properties of
+ string-to-expand.
+
+2014-11-13 Thomas Fitzsimmons <fitzsim@fitzsim.org>
+
* net/eudc-vars.el (eudc-inline-expansion-format): Default to a
format that includes first name and surname.
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