Function: gnuplot-completion-at-point-info-look
gnuplot-completion-at-point-info-look is a natively compiled function
defined in gnuplot.el.
Signature
(gnuplot-completion-at-point-info-look)
Documentation
Return completions of keyword preceding point.
Uses the cache of keywords generated by info-lookup. See
gnuplot--setup-info-look. If non-nil, the return value is in the form
(BEGIN END COMPLETIONS) where BEGIN and END are buffer
positions and COMPLETIONS is a list.
Source Code
;; Defined in /nix/store/xvcy7r1jiw71avhnh6kmin403kpqrdhc-emacs-packages-deps/share/emacs/site-lisp/elpa/gnuplot-20260623.1111/gnuplot.el
;;;; Completion at point and Eldoc.
;; There are two alternative completion-at-point mechanisms: the old
;; one using info-look and the new one (enabled by default) which
;; parses the command line to provide smarter completions.
;; Older completion method using info-look
(defun gnuplot-completion-at-point-info-look ()
"Return completions of keyword preceding point.
Uses the cache of keywords generated by `info-lookup'. See
`gnuplot--setup-info-look'. If non-nil, the return value is in the form
\(BEGIN END COMPLETIONS) where BEGIN and END are buffer
positions and COMPLETIONS is a list."
(when (eq gnuplot--info-keywords 'pending)
(gnuplot--setup-info-look))
(list (condition-case _err
(save-excursion (backward-sexp 1) (point))
(error (point)))
(point) gnuplot--info-keywords))