summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2017-09-18 18:56:14 +0200
committerAlan Pearce2017-09-18 18:56:14 +0200
commitf7b470763a0f1ccf9a441531e64f1807a82f9df3 (patch)
tree5e14857efd9a174055b5f0de108f3633fec5f28c /emacs
parentb5a3397bb47243716738747ec82ef5019a798819 (diff)
downloadnixfiles-f7b470763a0f1ccf9a441531e64f1807a82f9df3.tar.lz
nixfiles-f7b470763a0f1ccf9a441531e64f1807a82f9df3.tar.zst
nixfiles-f7b470763a0f1ccf9a441531e64f1807a82f9df3.zip
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
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/main.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 1aa78a43..aee8450e 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/"