Commit graph

9 commits

Author SHA1 Message Date
Eric Ludlam fb19b6bcc1 cedet-matlab.el, matlab-cgen.el, matlab-compat.el,
matlab-complete.el, matlab-maint.el, matlab-netshell.el,
matlab-publish.el, matlab-topic.el, semantic-matlab.el,
semanticdb-matlab.el, srecode-matlab.el:
Fix varous issues in doc strings and messages identified by `checkdoc'
command.
2019-12-12 22:36:55 -05:00
Eric Ludlam 9646902e54 matlab-compat.el:
(matlab-find-emacsclient): Fix paren bug w/ cond statement.

matlab-netshell.el:
Declare functions from matlab-shell, nd matlab-shell-gud to quiet the
byte compiler.
2019-12-12 18:45:59 -05:00
Eric Ludlam b4cc9187ba matlab-compat.el:
(matlab-find-emacsclient): New compat command -
Used to find emacsclient on random platforms.
2019-12-11 22:03:21 -05:00
Eric Ludlam 9bca22a465 matlab-compat.el:
New compat macros for cl-defmethod, pulse, and font-lock stuff.

linemark.el, mlint.el, matlab-shell-gud.el, semanticdb-matlab.el:
Replace defmethod with cl-defmethod.
Replace call-next-method with cl-call-next-method.

linemark.el:
Also require matlab-compat.el

tests/Makefile:
Allow EMACS to be overridable
2019-12-08 13:08:43 -05:00
Eric Ludlam 885eae827a matlab-compat.el:
(matlab-string-trim): New compatability shim.
`string-trim' introduced in newer emacsen.  This impl provides what is
needed for matlab-shell.
2019-12-08 12:29:40 -05:00
Eric Ludlam 2bcf58eb31 matlab.el, matlab-compat.el, matlab-complete.el, matlab-shell.el:
Fix matlab-shell-locate-fcn and fix spelling errors.

matlab-shell.el:
(matlab-shell-mode-map): Change C-c. keybinding to do matlab-shell-locate-fcn.
(matlab-shell-locate-fcn): New.

(matlab-find-file-under-path, matlab-find-file-on-path):
Deleted.

matlab.el:
(matlab-mode-map): Change binding of C-c. to do matlab-shell-locate-fcn
(matlab-frame-init): Change menu binding as with keybinding above.
2019-11-28 11:06:04 -05:00
Eric Ludlam 4e5639658b matlab-compat.el:
(matlab-display-completion-list): New,
copied form matlab-shell.el.
2019-11-17 08:41:33 -05:00
Eric Ludlam 0edda7ad1f matlab-compat.el:
(matlab-set-keymap-parent): New shim fcn.
(matlab-find-executible-directory): New fcn.
matlab-shell.el:
Use matlab-compat.el.
Always require comint, as this file won't load unless someone
is trying to create a shell.
(matlab-shell-font-lock-keywords): Refresh
to highlight startup text again.
(matlab-mode-determine-matlabroot): New.
(matlab-mode-install-path): Use above.
(matlab-mode-determine-mfile-path): Delete.
(matlab-shell-mode-map): Create during declaration,
including the menus.
(matlab-shell-mode): Don't make menu (see above)
(matlab-shell): Don't make keymap (see above)
semantic-matlab.el:
(semantic-matlab-root-directory): delete
(semantic-matlab-root-directory): Use
matlab-mode-determine-matlabroot instead of above.
2019-11-16 15:59:56 -05:00
Eric Ludlam ef57387366 matlab-compat.el:
New file, has all the compatibility shims from matlab.el.
matlab.el:
Remove compatibility shims, add to matlab-compat.el.
(matlab-functions-have-end-minor-mode): Get rid of wierd
fontified string and misc infrastructure.  It's not being shown anyway.
2019-11-16 14:50:08 -05:00