[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 72/77: Rename easy-kill-backward-down to easy-kill-forward-down
From: |
Leo Liu |
Subject: |
[elpa] 72/77: Rename easy-kill-backward-down to easy-kill-forward-down |
Date: |
Sat, 05 Apr 2014 04:08:28 +0000 |
leoliu pushed a commit to branch master
in repository elpa.
commit 5f332bfafce38379d7a2789549d1846963edb28f
Author: Leo Liu <address@hidden>
Date: Wed Feb 5 01:42:21 2014 +0800
Rename easy-kill-backward-down to easy-kill-forward-down
---
easy-kill.el | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/easy-kill.el b/easy-kill.el
index a42e2a4..dcbbae4 100644
--- a/easy-kill.el
+++ b/easy-kill.el
@@ -1,6 +1,6 @@
;;; easy-kill.el --- kill things easily -*- lexical-binding: t;
-*-
-;; Copyright (C) 2013 Leo Liu
+;; Copyright (C) 2013-2014 Leo Liu
;; Author: Leo Liu <address@hidden>
;; Version: 0.9.1
@@ -411,7 +411,7 @@ Temporally activate additional key bindings as follows:
(defun easy-kill-on-buffer-file-name (n)
"Get `buffer-file-name' or `default-directory'.
If N is zero, remove the directory part; -, remove the file name
-party; +, full path."
+part; +, full path."
(if easy-kill-mark
(easy-kill-message-nolog "Not supported in `easy-mark'")
(let ((file (or buffer-file-name default-directory)))
@@ -472,14 +472,14 @@ inspected."
(goto-char (nth 8 ppss))))
(scan-error (and (nth 3 ppss) (goto-char (nth 8 ppss)))))))
-(defun easy-kill-backward-down (point &optional bound)
+(defun easy-kill-forward-down (point &optional bound)
(condition-case nil
(progn
(easy-kill-backward-up)
(backward-prefix-chars)
(if (and (or (not bound) (> (point) bound))
(/= point (point)))
- (easy-kill-backward-down (point) bound)
+ (easy-kill-forward-down (point) bound)
(goto-char point)))
(scan-error (goto-char point))))
@@ -488,7 +488,7 @@ inspected."
(pcase n
(`+ (goto-char (overlay-start easy-kill-candidate))
(easy-kill-backward-up))
- (`- (easy-kill-backward-down
+ (`- (easy-kill-forward-down
(point) (overlay-start easy-kill-candidate)))
(_ (error "Unsupported argument `%s'" n)))
(bounds-of-thing-at-point 'sexp)))
- [elpa] 56/77: Doc fix and release v0.9.0, (continued)
- [elpa] 56/77: Doc fix and release v0.9.0, Leo Liu, 2014/04/05
- [elpa] 61/77: Optimise easy-kill-thing-forward when n is 0, Leo Liu, 2014/04/05
- [elpa] 62/77: Small tweak to easy-kill-on-nxml-element, Leo Liu, 2014/04/05
- [elpa] 60/77: Make easy-kill-on-buffer-file-name do nothing in easy-mark, Leo Liu, 2014/04/05
- [elpa] 68/77: Fix easy-kill-append to update clipboard, Leo Liu, 2014/04/05
- [elpa] 65/77: Fix #8: Don't strip trailing blank chars, Leo Liu, 2014/04/05
- [elpa] 67/77: New handler for defun-name and bind it to `D', Leo Liu, 2014/04/05
- [elpa] 66/77: Fix #9: Work around fixed bug in thingatpt.el, Leo Liu, 2014/04/05
- [elpa] 71/77: In no case should easy-kill-activate-keymap err, Leo Liu, 2014/04/05
- [elpa] 70/77: Adapt to upstream change, Leo Liu, 2014/04/05
- [elpa] 72/77: Rename easy-kill-backward-down to easy-kill-forward-down,
Leo Liu <=
- [elpa] 73/77: Support list expand/shrink on js2 nodes, Leo Liu, 2014/04/05
- [elpa] 74/77: Require cl-lib, Leo Liu, 2014/04/05
- [elpa] 76/77: Add easy-kill to externals-list, Leo Liu, 2014/04/05
- [elpa] 77/77: Merge easy-kill as packages/easy-kill, Leo Liu, 2014/04/05
- [elpa] 75/77: Cleanup and preparation for inclusion in GNU ELPA, Leo Liu, 2014/04/05
- [elpa] 69/77: Consolidate easy-mark and easy-mark-sexp into one command, Leo Liu, 2014/04/05