emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] 52/77: Use filter-buffer-substring


From: Leo Liu
Subject: [elpa] 52/77: Use filter-buffer-substring
Date: Sat, 05 Apr 2014 04:08:22 +0000

leoliu pushed a commit to branch master
in repository elpa.

commit 5fbfcbf4c60f4343f0881abbeccc1a0f82c71f04
Author: Leo Liu <address@hidden>
Date:   Tue Oct 15 17:43:43 2013 +0800

    Use filter-buffer-substring
---
 easy-kill.el |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/easy-kill.el b/easy-kill.el
index fd70a99..2cb7b3a 100644
--- a/easy-kill.el
+++ b/easy-kill.el
@@ -141,8 +141,8 @@ Otherwise, it is the value of the overlay's candidate 
property."
    (with-current-buffer (overlay-buffer easy-kill-candidate)
      (if (/= (overlay-start easy-kill-candidate)
              (overlay-end easy-kill-candidate))
-         (buffer-substring (overlay-start easy-kill-candidate)
-                           (overlay-end easy-kill-candidate))
+         (filter-buffer-substring (overlay-start easy-kill-candidate)
+                                  (overlay-end easy-kill-candidate))
        (overlay-get easy-kill-candidate 'candidate)))))
 
 (defun easy-kill-adjust-candidate (thing &optional beg end)



reply via email to

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