leoliu pushed a commit to branch master
in repository elpa.

commit 461b817b3902232d6621cb7308f7da5a40fb7ced
Author: Leo Liu <sdl....@gmail.com>
Date:   Mon Oct 28 14:56:29 2013 +0800

    Small tweak to easy-kill-on-nxml-element
---
 easy-kill.el |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/easy-kill.el b/easy-kill.el
index ea0aeab..1d736ad 100644
--- a/easy-kill.el
+++ b/easy-kill.el
@@ -475,8 +475,7 @@ inspected."
 
 (defun easy-kill-on-nxml-element (n)
   (let ((nxml-sexp-element-flag t)
-        (up-list-fn (when (derived-mode-p 'nxml-mode)
-                      #'nxml-up-element)))
+        (up-list-fn #'nxml-up-element))
     (cond
      ((memq n '(+ -))
       (let ((bounds (easy-kill-bounds-of-list n)))

Reply via email to