[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 02/77: Fix error when interprogram-cut-function unset
From: |
Leo Liu |
Subject: |
[elpa] 02/77: Fix error when interprogram-cut-function unset |
Date: |
Sat, 05 Apr 2014 04:08:09 +0000 |
leoliu pushed a commit to branch master
in repository elpa.
commit 0d26d776b57f96751adace328863e3765764be5f
Author: Leo Liu <address@hidden>
Date: Sat Sep 28 12:19:42 2013 +0800
Fix error when interprogram-cut-function unset
---
easy-kill.el | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/easy-kill.el b/easy-kill.el
index 30df9a2..2bd0c17 100644
--- a/easy-kill.el
+++ b/easy-kill.el
@@ -51,7 +51,8 @@
(when str
(setq easy-kill-candidate str)
;; Immediately put it in clipboard for other applications.
- (funcall interprogram-cut-function str)
+ (and interprogram-cut-function
+ (funcall interprogram-cut-function str))
(easy-kill-message-nolog "%s" str)))
(defun easy-kill-map ()
- [elpa] branch master updated (769f2f2 -> 0a73626), Leo Liu, 2014/04/05
- [elpa] 03/77: Fix error: wrong-type-argument number-or-marker-p nil, Leo Liu, 2014/04/05
- [elpa] 02/77: Fix error when interprogram-cut-function unset,
Leo Liu <=
- [elpa] 05/77: Call interprogram-cut-function in easy-kill-forward, Leo Liu, 2014/04/05
- [elpa] 01/77: Initial commit, Leo Liu, 2014/04/05
- [elpa] 07/77: Rename easy-kill-forward/backward to easy-kill-enlarge/shrink, Leo Liu, 2014/04/05
- [elpa] 08/77: Give overlay by easy-kill-candidate higher priority, Leo Liu, 2014/04/05
- [elpa] 06/77: Various bug fixes and improvements, Leo Liu, 2014/04/05
- [elpa] 09/77: Restore the ability to inspect char properties for URLs, Leo Liu, 2014/04/05
- [elpa] 04/77: Use overlay for storing kill candidate and change +/-, Leo Liu, 2014/04/05
- [elpa] 11/77: Minor tweaks to easy-kill-on-url, Leo Liu, 2014/04/05
- [elpa] 12/77: Tweak the definition of thing `region', Leo Liu, 2014/04/05
- [elpa] 13/77: New command easy-kill-region to kill current selection, Leo Liu, 2014/04/05