Guest User

Untitled

a guest
Oct 20th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. (defun my-lisp-load (filename)
  2. "Load lisp from FILENAME"
  3. (let ((fullname (expand-file-name (concat "spec/" filename) user-emacs-directory))
  4. lisp)
  5. (when (file-readable-p fullname)
  6. (with-temp-buffer
  7. (progn
  8. (insert-file-contents fullname)
  9. (setq lisp
  10. (condition-case nil
  11. (read (current-buffer))
  12. (error ()))))))
  13. lisp))
  14.  
  15. ;;; helm-github-stars.el
  16.  
  17. (setq helm-github-stars-token (my-lisp-load "helm-github-stars-token"))
  18. (setq helm-github-stars-name-length 50)
  19. (setq helm-github-stars-refetch-time 0.5)
Add Comment
Please, Sign In to add comment