Function: octave-completion-at-point
octave-completion-at-point is a byte-compiled function defined in
octave.el.gz.
Signature
(octave-completion-at-point)
Documentation
Find the text to complete and the corresponding table.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/octave.el.gz
(defun octave-completion-at-point ()
"Find the text to complete and the corresponding table."
(let* ((beg (save-excursion (skip-syntax-backward "w_") (point)))
(end (point)))
(if (< beg (point))
;; Extend region past point, if applicable.
(save-excursion (skip-syntax-forward "w_")
(setq end (point))))
(when (> end beg)
(list beg end (or (and (inferior-octave-process-live-p)
(inferior-octave-completion-table))
octave-reserved-words)))))