about summary refs log tree commit diff
path: root/configs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-01-20T21·47+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-01-22T21·13+0000
commitb843e0f8f62248c5902beca54466e8025c254773 (patch)
tree4a7684ed187f11e97147ee4792a3eff9c2e40ab0 /configs
parent59be1ee981855959f6c94bba0d14c3bef4e3fb3d (diff)
Remove opam-install variable and assertion
The `prelude/assert` for the existence of the `opam-install` directory was
failing.

I believe this assertion would have been failing sooner, but a bug in my
initialization was preventing Emacs from evaluating `wpc-ocaml.el`. It seems
that I removed whatever was jamming the initialization and as such, I uncovered
some more bugs.

Let this serve as a reminder that just because it hasn't bitten you yet, doesn't
mean that your software doesn't have a bug.
Diffstat (limited to 'configs')
-rw-r--r--configs/shared/.emacs.d/wpc/packages/wpc-ocaml.el10
1 files changed, 1 insertions, 9 deletions
diff --git a/configs/shared/.emacs.d/wpc/packages/wpc-ocaml.el b/configs/shared/.emacs.d/wpc/packages/wpc-ocaml.el
index 8bd1c63f63aa..26add2d6f957 100644
--- a/configs/shared/.emacs.d/wpc/packages/wpc-ocaml.el
+++ b/configs/shared/.emacs.d/wpc/packages/wpc-ocaml.el
@@ -22,17 +22,10 @@
 (prelude/assert
  (prelude/executable-exists? "opam"))
 
-(defvar opam-installs "~/.opam/4.08.0/share/emacs/site-lisp"
-  "Path to the Ocaml PAckage Manager installations.")
-
 (defvar opam-user-setup "~/.emacs.d/opam-user-setup.el"
   "File for the OPAM Emacs integration.")
 
-(prelude/assert
- (f-file? opam-user-setup))
-
-(prelude/assert
- (f-dir? opam-installs))
+(prelude/assert (f-file? opam-user-setup))
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;; Configuration
@@ -45,7 +38,6 @@
 ;; ocamlformat
 (require 'opam-user-setup "~/.emacs.d/opam-user-setup.el")
 (require 'ocamlformat)
-(add-to-list 'load-path opam-installs)
 
 (provide 'wpc-ocaml)
 ;;; wpc-ocaml.el ends here