From d799d94edfe5396ce939403ececf1f1ec105f624 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Tue, 18 Oct 2016 14:48:12 -0700 Subject: [PATCH] [Emacs] Remove old copyq.el file --- dotfiles/emacs.d/load.d/copyq.el | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 dotfiles/emacs.d/load.d/copyq.el diff --git a/dotfiles/emacs.d/load.d/copyq.el b/dotfiles/emacs.d/load.d/copyq.el deleted file mode 100644 index e0809500..00000000 --- a/dotfiles/emacs.d/load.d/copyq.el +++ /dev/null @@ -1,11 +0,0 @@ -(defun imalison:copyq-get (i) - (imalison:shell-command-to-string (format "copyq eval read(%s)" i))) - -(defun imalison:copyq-sync () - (interactive) - (let ((missing-items (cl-loop for i from 0 to (string-to-int - (imalison:shell-command-to-string "copyq eval size()")) - for item = (imalison:copyq-get i) - when (not (member item kill-ring)) - collect item))) - (setq kill-ring (nconc kill-ring missing-items))))