summaryrefslogtreecommitdiff
path: root/guix.scm
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2018-05-10 15:47:10 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2018-05-10 15:49:43 +0300
commit4eacdbc82d5d3c086df87727da87c3f1070f0bed (patch)
tree791f486e5b86aae22c54c05ee2476bfee91434eb /guix.scm
parentanywhere-mode: Require subr-x. (diff)
downloademacs-anywhere-mode-4eacdbc82d5d3c086df87727da87c3f1070f0bed.tar.gz
anywhere-mode.el: Use XCLIP_BIN.
* anywhere-mode.el (anywhere-command): Use '@XCLIP_BIN@'. * guix.scm (emacs-anywhere-mode)[arguments]: Use this. [inputs]: Add 'xclip'.
Diffstat (limited to 'guix.scm')
-rw-r--r--guix.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/guix.scm b/guix.scm
index 46b9dba..fb27ced 100644
--- a/guix.scm
+++ b/guix.scm
@@ -67,14 +67,17 @@ newspace."
(add-after 'unpack 'patch-paths
(lambda _
(substitute* "emacs-anywhere"
- (("@XDOTOOL_BIN@") (which "xdotool")))))
+ (("@XDOTOOL_BIN@") (which "xdotool")))
+ (substitute* "anywhere-mode.el"
+ (("@XCLIP_BIN@") (which "xclip")))))
(add-before 'install 'install-shell-script
(lambda* (#:key outputs #:allow-other-keys)
(install-file "emacs-anywhere"
(string-append (assoc-ref outputs "out")
"/bin")))))))
(inputs
- `(("xdotool" ,xdotool)))
+ `(("xdotool" ,xdotool)
+ ("xclip" ,xclip)))
(synopsis "Emacs Anywhere mode")
(description "This package provides an Emacs minor-mode for
capturing user input and paste it with @kbd{C-v} after exit.")