matlab-compat.el:

(matlab-obarray-make): New compat layer.
This commit is contained in:
Eric Ludlam 2021-03-13 20:59:21 -05:00
parent a5449ab375
commit fd9d7b7088
1 changed files with 5 additions and 0 deletions

View File

@ -150,6 +150,11 @@ REGEXP defaults to \"[ \\t\\n\\r]+\"."
out))
)
;; OBARRAYS
(if (fboundp 'obarray-make)
(defalias 'matlab-obarray-make 'obarray-make)
(defun matlab-obarray-make (sz) (make-vector sz 0)))
;; Finding executables
(defun matlab-find-executable-directory (program)
"Find the executable PROGRAM on the exec path, following any links.