Skip to content

Commit 2788b2b

Browse files
arvidjshonfeder
andauthored
Update editor-integration/emacs/dune.el
Co-authored-by: Shon Feder <[email protected]> Signed-off-by: arvidj <[email protected]>
1 parent c80cf43 commit 2788b2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

editor-integration/emacs/dune.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,8 +430,8 @@ For customization purposes, use `dune-mode-hook'."
430430
(defun dune-find-dominating ()
431431
"Find dominating dune file."
432432
(interactive)
433-
(if-let* ((dune-file (locate-dominating-file "." "dune"))
434-
(dune-file (concat dune-file "dune")))
433+
(if-let* ((dune-file-dir (locate-dominating-file "." "dune"))
434+
(dune-file (concat dune-file-dir "dune")))
435435
(progn
436436
(xref-push-marker-stack)
437437
(find-file dune-file))

0 commit comments

Comments
 (0)