Skip to content

Commit 1d5e30c

Browse files
committed
semantic-matlab: use matlab--get-matlabroot
1 parent f503a9e commit 1d5e30c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

semantic-matlab.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
)
4343
(require 'matlab)
4444
(require 'matlab-shell)
45+
(require 'matlab--access)
4546
(require 'semanticdb-matlab)
4647

4748
;;; Code:
@@ -84,7 +85,7 @@ If `semantic-mode' is not enabled, do something hacky to make it work."
8485
These paths will be parsed recursively by semantic. Class and
8586
private directories will be omitted here.")
8687

87-
(defvar semantic-matlab-root-directory (matlab-mode-determine-matlabroot)
88+
(defvar semantic-matlab-root-directory (matlab--get-matlabroot)
8889
"Root directory of MATLAB installation.
8990
Use `semantic-matlab-system-paths-include' to let semantic know
9091
which system directories you would like to include when doing

0 commit comments

Comments
 (0)