Skip to content

Commit

Permalink
xclip-mode: rename xclip dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ilovezfs committed Jan 28, 2017
1 parent 86e5b9e commit 0904970
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Formula/xclip-mode.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ class XclipMode < EmacsFormula
homepage "http://elpa.gnu.org/packages/xclip.html"
url "http://elpa.gnu.org/packages/xclip-1.3.el"
sha256 "8724069facb86870058c1a6d2e321dfb2e6df3252bb1a29ed408157435c998fe"
revision 1

depends_on :emacs
depends_on "homebrew/x11/xclip"
depends_on "xclip"

def install
mv "xclip-#{version}.el", "xclip.el"
byte_compile "xclip.el"
(share/"emacs/site-lisp/xclip").install "xclip.el",
"xclip.elc"
elisp.install "xclip.el", "xclip.elc"
end

def caveats; <<-EOS.undent
Expand All @@ -26,7 +26,7 @@ def caveats; <<-EOS.undent

test do
(testpath/"test.el").write <<-EOS.undent
(add-to-list 'load-path "#{share}/emacs/site-lisp/xclip")
(add-to-list 'load-path "#{elisp}")
(load "xclip")
(turn-on-xclip)
(print (minibuffer-prompt-width))
Expand Down

0 comments on commit 0904970

Please sign in to comment.