all repos — nixfiles @ f7b470763a0f1ccf9a441531e64f1807a82f9df3

System and user configuration, managed by nix and home-manager

Emacs: Fix beancount loading

If another repository exists whose name includes beancount and sorts
before it, then loading beancount.el will fail due to incorrect load path
Alan Pearce alan@alanpearce.eu
Mon, 18 Sep 2017 18:56:14 +0200
commit

f7b470763a0f1ccf9a441531e64f1807a82f9df3

parent

b5a3397bb47243716738747ec82ef5019a798819

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -1785,7 +1785,7 @@ ;;;;;; Beancount
 
 ;; #+BEGIN_SRC emacs-lisp
-(let ((beancount-dir (car (split-string (shell-command-to-string "ghq list --full-path beancount")))))
+(let ((beancount-dir (car (split-string (shell-command-to-string "ghq list --full-path blais/beancount")))))
   (when (and beancount-dir
              (file-directory-p beancount-dir))
     (add-to-list 'load-path (expand-file-name "editors/emacs/"