AshtonKem / Butler

Jenkins/Hudson plugin for Emacs
44 stars 10 forks source link

Do not depend on org mode #9

Closed mar-kolya closed 10 years ago

mar-kolya commented 10 years ago

org-link-unescape function comes from org mode. Butler doesn't declare dependency on org mode and doesn't load it. Is the result one get errors if he tries to use butler on emacs without org mode.

This pull request replaces use of org-link-unescape with url-unhex-string which comes form url package which butler already uses.

This pull request also replaces use of beginning-of-buffer with goto-char which is faster according to emacs docs.

Please let me know if there are any problems.

Thanks!