emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master c8d2553 05/17: Ignore text properties in eudc-expan


From: Stefan Monnier
Subject: [Emacs-diffs] master c8d2553 05/17: Ignore text properties in eudc-expand-inline
Date: Fri, 23 Jan 2015 22:20:31 +0000

branch: master
commit c8d2553bd424e45872a1fe4f94c8be291eea5dc1
Author: Thomas Fitzsimmons <address@hidden>
Commit: Thomas Fitzsimmons <address@hidden>

    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 deletions(-)

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4b3b303..52bf823 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,10 @@
 2014-11-13  Thomas Fitzsimmons  <address@hidden>
 
+       * net/eudc.el (eudc-expand-inline): Ignore text properties of
+       string-to-expand.
+
+2014-11-13  Thomas Fitzsimmons  <address@hidden>
+
        * 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 e038b28..54a41f0 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]