We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c80cf43 commit 2788b2bCopy full SHA for 2788b2b
editor-integration/emacs/dune.el
@@ -430,8 +430,8 @@ For customization purposes, use `dune-mode-hook'."
430
(defun dune-find-dominating ()
431
"Find dominating dune file."
432
(interactive)
433
- (if-let* ((dune-file (locate-dominating-file "." "dune"))
434
- (dune-file (concat dune-file "dune")))
+ (if-let* ((dune-file-dir (locate-dominating-file "." "dune"))
+ (dune-file (concat dune-file-dir "dune")))
435
(progn
436
(xref-push-marker-stack)
437
(find-file dune-file))
0 commit comments