branch: externals/matlab-mode
commit 1d5e30c4ba24347b47baca57f3ea517b3301957d
Author: John Ciolfi <[email protected]>
Commit: John Ciolfi <[email protected]>

    semantic-matlab: use matlab--get-matlabroot
---
 semantic-matlab.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/semantic-matlab.el b/semantic-matlab.el
index 07b408aa45..e441cba90a 100644
--- a/semantic-matlab.el
+++ b/semantic-matlab.el
@@ -42,6 +42,7 @@
   )
 (require 'matlab)
 (require 'matlab-shell)
+(require 'matlab--access)
 (require 'semanticdb-matlab)
 
 ;;; Code:
@@ -84,7 +85,7 @@ If `semantic-mode' is not enabled, do something hacky to make 
it work."
 These paths will be parsed recursively by semantic.  Class and
 private directories will be omitted here.")
 
-(defvar semantic-matlab-root-directory (matlab-mode-determine-matlabroot)
+(defvar semantic-matlab-root-directory (matlab--get-matlabroot)
   "Root directory of MATLAB installation.
 Use `semantic-matlab-system-paths-include' to let semantic know
 which system directories you would like to include when doing

Reply via email to