From 99d8cbedb4ee33fa450e48c600db6296d0db6d83 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Mon, 25 May 2020 23:10:49 -0400 Subject: [PATCH] Fix startup errors when bootstrapping --- emacs/init.org | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/emacs/init.org b/emacs/init.org index c3f347e..27cb542 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -825,10 +825,9 @@ I put lots of stuff in Dropbox, but the actual folder location differs on my dif #+BEGIN_SRC emacs-lisp (defun get-dropbox-directory () (cond - ((file-exists-p (expand-file-name "~/Dropbox")) - (expand-file-name "~/Dropbox")) ((file-exists-p (expand-file-name "~/Dropbox (Personal)")) - (expand-file-name "~/Dropbox (Personal)")))) + (expand-file-name "~/Dropbox (Personal)")) + (t (expand-file-name "~/Dropbox")))) #+END_SRC @@ -2874,13 +2873,13 @@ Emacs support for the Language Server Protocol :general (lsp-mode-map "C-c h" 'hydra-lsp/body) ((normal visual motion) lsp-mode-map "K" #'lsp-describe-thing-at-point) - ((normal visual motion) "gl" lsp-command-map) :hook ((lsp-mode . (lambda () (let ((lsp-keymap-prefix "gl")) (lsp-enable-which-key-integration))))) :config (setq lsp-prefer-flymake nil) + (general-def '(normal visual motion) "gl" lsp-command-map) :commands lsp-mode lsp lsp-deferred :custom (lsp-enable-snippet nil)