about summary refs log tree commit diff
path: root/users/wpcarro/emacs/.emacs.d/wpc
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2022-02-14T21·46-0800
committerclbot <clbot@tvl.fyi>2022-02-14T21·54+0000
commitd052ab21fdceffd6829af3bc5ef7ad08a678ae58 (patch)
tree1812712e0a436f9d6f8e48b73dc8195571ba08ba /users/wpcarro/emacs/.emacs.d/wpc
parent5d09aa53dd7b35f4250d5ea539aa8a21c30b8aa7 (diff)
fix(wpcarro/emacs): Debug bookmark-open r/3828
also add missing dependency on project.el

Change-Id: I4648f07eb31888c9c4bd6c094543b8d8ee05225a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5287
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Diffstat (limited to 'users/wpcarro/emacs/.emacs.d/wpc')
-rw-r--r--users/wpcarro/emacs/.emacs.d/wpc/bookmark.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/users/wpcarro/emacs/.emacs.d/wpc/bookmark.el b/users/wpcarro/emacs/.emacs.d/wpc/bookmark.el
index 2fa9b5de80d6..ab9169a078d4 100644
--- a/users/wpcarro/emacs/.emacs.d/wpc/bookmark.el
+++ b/users/wpcarro/emacs/.emacs.d/wpc/bookmark.el
@@ -13,6 +13,7 @@
 ;; Dependencies
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
+(require 'project)
 (require 'general)
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@@ -28,7 +29,7 @@
 (defun bookmark-open (b)
   "Open bookmark, B, as either a project directory or a regular directory."
   (with-temp-buffer
-    (cd path)
+    (cd (bookmark-path b))
     (call-interactively #'project-find-file)))
 
 (defun bookmark-install-kbd (b)