From f7b470763a0f1ccf9a441531e64f1807a82f9df3 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 18 Sep 2017 18:56:14 +0200 Subject: 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 --- emacs/.emacs.d/main.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emacs') diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index 1aa78a4..aee8450 100644 --- a/emacs/.emacs.d/main.el +++ b/emacs/.emacs.d/main.el @@ -1785,7 +1785,7 @@ With prefix TO-CURRENT-BUFFER, insert command output into buffer." ;;;;;; 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/" -- cgit 1.4.1