Skip to content

Commit

Permalink
fix: typo fix for "Remove dependency on f"
Browse files Browse the repository at this point in the history
  • Loading branch information
bustercopley committed Feb 27, 2024
1 parent 191d4be commit f526315
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lean4-util.el
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ Try to find an executable named `lean4-executable-name' in variable `exec-path'.
On succsess, return path to the directory with this executable."
(let ((root (executable-find lean4-executable-name)))
(when root
(setq lean4-rootdir (file-name-directory (directory-file-name (directory-file-name root)))))
(setq lean4-rootdir (file-name-directory
(directory-file-name
(file-name-directory root)))))
lean4-rootdir))

(defun lean4-get-rootdir ()
Expand Down

0 comments on commit f526315

Please sign in to comment.