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

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

[elpa] 62/77: Small tweak to easy-kill-on-nxml-element


From: Leo Liu
Subject: [elpa] 62/77: Small tweak to easy-kill-on-nxml-element
Date: Sat, 05 Apr 2014 04:08:25 +0000

leoliu pushed a commit to branch master
in repository elpa.

commit 461b817b3902232d6621cb7308f7da5a40fb7ced
Author: Leo Liu <address@hidden>
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

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