diff options
Diffstat (limited to 'configs/shared/.emacs.d')
-rw-r--r-- | configs/shared/.emacs.d/wpc/bookmark.el | 10 | ||||
-rw-r--r-- | configs/shared/.emacs.d/wpc/constants.el | 4 | ||||
-rw-r--r-- | configs/shared/.emacs.d/wpc/packages/wpc-nix.el | 2 |
3 files changed, 11 insertions, 5 deletions
diff --git a/configs/shared/.emacs.d/wpc/bookmark.el b/configs/shared/.emacs.d/wpc/bookmark.el index 851f9be09436..734ddaa13a27 100644 --- a/configs/shared/.emacs.d/wpc/bookmark.el +++ b/configs/shared/.emacs.d/wpc/bookmark.el @@ -12,6 +12,10 @@ ;;; Code: +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; Dependencies +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + (require 'f) (require 'buffer) (require 'list) @@ -58,8 +62,8 @@ Otherwise, open with `counsel-find-file'." (make-bookmark :label "org" :path "~/Dropbox/org" :kbd "o") - (make-bookmark :label "mono" - :path "~/mono" + (make-bookmark :label "universe" + :path "~/universe" :kbd "m") (make-bookmark :label "dotfiles" :path "~/dotfiles" @@ -77,7 +81,7 @@ Otherwise, open with `counsel-find-file'." (defun bookmark/magit-status () "Use ivy to select a bookmark and jump to its `magit-status' buffer." (interactive) - (let ((labels (set/new "dotfiles" "mono" "depot")) + (let ((labels (set/new "dotfiles" "universe" "depot")) (all-labels (->> bookmark/whitelist (list/map (>> bookmark-label)) set/from-list))) diff --git a/configs/shared/.emacs.d/wpc/constants.el b/configs/shared/.emacs.d/wpc/constants.el index bca2ad45e745..b4a57f49cf1e 100644 --- a/configs/shared/.emacs.d/wpc/constants.el +++ b/configs/shared/.emacs.d/wpc/constants.el @@ -10,9 +10,11 @@ ;; current consumers of these constants, and I'm unsure if the indirection that ;; globally defined constants introduces is worth it. -(defconst constants/current-project "~/mono" +(defconst constants/current-project "~/universe" "Variable holding the directory for my currently active project.") +(prelude/assert (f-directory? constants/current-project)) + (defconst constants/mouse-kbds '([mouse-1] [down-mouse-1] [drag-mouse-1] [double-mouse-1] [triple-mouse-1] [mouse-2] [down-mouse-2] [drag-mouse-2] [double-mouse-2] [triple-mouse-2] diff --git a/configs/shared/.emacs.d/wpc/packages/wpc-nix.el b/configs/shared/.emacs.d/wpc/packages/wpc-nix.el index e2e0983086fc..68d542e01176 100644 --- a/configs/shared/.emacs.d/wpc/packages/wpc-nix.el +++ b/configs/shared/.emacs.d/wpc/packages/wpc-nix.el @@ -8,7 +8,7 @@ ;; Dependencies ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -(prelude/assert (f-exists? "~/mono")) +(prelude/assert (f-exists? "~/universe")) (prelude/assert (f-exists? "~/depot")) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |