Permalink
Browse files

Fixing an issue with vendor/ not loading.

  • Loading branch information...
1 parent a43a1d4 commit 12121b9052955b8fb1170a7db507432ac83f3c6d @febuiles committed Dec 24, 2008
Showing with 3 additions and 1 deletion.
  1. +3 −1 tumble.el
View
@@ -89,7 +89,9 @@
;;; Code:
-(add-to-list 'load-path "./vendor")
+(let* ((tumble-dir (file-name-directory
+ (or (buffer-file-name) load-file-name))))
+ (add-to-list 'load-path (concat tumble-dir "/vendor")))
(require 'http-post-simple)
;; Personal information

0 comments on commit 12121b9

Please sign in to comment.