Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defun my-lisp-load (filename)
- "Load lisp from FILENAME"
- (let ((fullname (expand-file-name (concat "spec/" filename) user-emacs-directory))
- lisp)
- (when (file-readable-p fullname)
- (with-temp-buffer
- (progn
- (insert-file-contents fullname)
- (setq lisp
- (condition-case nil
- (read (current-buffer))
- (error ()))))))
- lisp))
- ;;; helm-github-stars.el
- (setq helm-github-stars-token (my-lisp-load "helm-github-stars-token"))
- (setq helm-github-stars-name-length 50)
- (setq helm-github-stars-refetch-time 0.5)
Add Comment
Please, Sign In to add comment