diff options
| author | Stefan Monnier | 2011-04-25 13:29:31 -0300 |
|---|---|---|
| committer | Stefan Monnier | 2011-04-25 13:29:31 -0300 |
| commit | e92f3bd31bba8010468c91b6af7090652969679b (patch) | |
| tree | 9eb8ca14de4bd9eba623e8fa54c49be5dbb15070 /src | |
| parent | cd22b309b432f65d0191e46a7677e0d9c11ea9fd (diff) | |
| download | emacs-e92f3bd31bba8010468c91b6af7090652969679b.tar.gz emacs-e92f3bd31bba8010468c91b6af7090652969679b.zip | |
Fix octave-inf completion problems reported by Alexander Klimov.
* lisp/progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
Inherit from octave-mode-syntax-table.
(inferior-octave-mode): Set info-lookup-mode.
(inferior-octave-completion-at-point): New function.
(inferior-octave-complete): Use it and completion-in-region.
(inferior-octave-dynamic-complete-functions): Use it as well, and use
comint-filename-completion.
* lisp/progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
symbol elements which shouldn't be word elements.
(octave-font-lock-keywords, octave-beginning-of-defun)
(octave-function-header-regexp): Adjust regexps accordingly.
(octave-mode-map): Also use info-lookup-symbol for C-c C-h.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions