Last active
October 17, 2017 04:27
-
-
Save dustinlacewell-wk/42f2506eb7044c434be78320a8132eb9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(when (site-lisp-library-loadable-p 'helm-fasd) | |
(load "helm-fasd")) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun site-lisp-library-loadable-p (name) | |
"Return whether or not the library `name' can be loaded from a | |
source file under ~/.emacs.d/site-lisp/name/" | |
(let ((f (locate-library (symbol-name name)))) | |
(and f (string-prefix-p (file-name-as-directory (site-lisp-dir-for name)) f)))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Debugger entered--Lisp error: (wrong-type-argument symbolp "helm-fasd") | |
symbol-name("helm-fasd") | |
(locate-library (symbol-name name)) | |
(let ((f (locate-library (symbol-name name)))) (and f (string-prefix-p (file-name-as-directory (site-lisp-dir-for name)) f))) | |
site-lisp-library-loadable-p("helm-fasd") | |
(if (site-lisp-library-loadable-p name) nil (byte-compile-file (download-site-lisp-module name url))) | |
ensure-lib-from-url("helm-fasd" "https://raw.githubusercontent.com/ajsalminen/helm-fasd/master/helm-fasd.el") | |
eval-buffer(#<buffer *load*> nil "/Users/dustinlacewell/.emacs.d/init.el" nil t) ; Reading at buffer position 6488 | |
load-with-code-conversion("/Users/dustinlacewell/.emacs.d/init.el" "/Users/dustinlacewell/.emacs.d/init.el" t t) | |
load("/Users/dustinlacewell/.emacs.d/init" t t) | |
#[0 "\205\266 \306=\203 \307\310Q\202? \311=\204 \307\312Q\202? \313\307\314\315#\203* \316\202? \313\307\314\317#\203> |