Function: verilog-completion-at-point
verilog-completion-at-point is a byte-compiled function defined in
verilog-mode.el.gz.
Signature
(verilog-completion-at-point)
Documentation
Used as an element of completion-at-point-functions.
(See also verilog-type-keywords and
verilog-separator-keywords.)
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/verilog-mode.el.gz
(defun verilog-completion-at-point ()
"Used as an element of `completion-at-point-functions'.
\(See also `verilog-type-keywords' and
`verilog-separator-keywords'.)"
(let* ((b (save-excursion (skip-chars-backward "a-zA-Z0-9_") (point)))
(e (save-excursion (skip-chars-forward "a-zA-Z0-9_") (point)))
(verilog-str (buffer-substring b e))
;; The following variable is used in verilog-completion
(verilog-buffer-to-use (current-buffer))
(allcomp (if (and verilog-toggle-completions
(string= verilog-last-word-shown verilog-str))
verilog-last-completions
(all-completions verilog-str #'verilog-completion))))
(list b e allcomp)))