Replace calls to (getenv "BRIEFCASE") with constants/briefcase
I would prefer to define constants/briefcase in terms of `(getenv "BRIEFCASE")` and assert that `(f-exists? (getenv "BRIEFCASE"))`, in one location: constants.el
This commit is contained in:
parent
21ce27b0ca
commit
8eed16dc67
4 changed files with 17 additions and 10 deletions
|
|
@ -21,6 +21,7 @@
|
|||
(require 'list)
|
||||
(require 'string)
|
||||
(require 'set)
|
||||
(require 'constants)
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Constants
|
||||
|
|
@ -60,7 +61,7 @@ Otherwise, open with `counsel-find-file'."
|
|||
:path "~/depot"
|
||||
:kbd "t")
|
||||
(make-bookmark :label "briefcase"
|
||||
:path (getenv "BRIEFCASE")
|
||||
:path constants/briefcase
|
||||
:kbd "b")
|
||||
(make-bookmark :label "current project"
|
||||
:path constants/current-project
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue