Skip to content

Instantly share code, notes, and snippets.

@sshirokov
Created October 31, 2009 20:32
Show Gist options
  • Select an option

  • Save sshirokov/223229 to your computer and use it in GitHub Desktop.

Select an option

Save sshirokov/223229 to your computer and use it in GitHub Desktop.
Let's not hardcode machine specific paths 'k?
diff ~/tmp/ri-ruby.el ~/.emacs.d/elisp/ri-ruby.el
81a82,83
> (defun ri-get-ruby-script () (expand-file-name ri-ruby-script))
>
88c90
< ri-ruby-program ri-ruby-script))
---
> ri-ruby-program (ri-get-ruby-script)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment