Function: cape-line

cape-line is an autoloaded, interactive and byte-compiled function defined in cape.el.

Signature

(cape-line &optional INTERACTIVE)

Documentation

Complete current line from other lines.

The buffers returned by cape-line-buffer-function are scanned for lines. If INTERACTIVE is nil the function acts like a Capf.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/cape-20260804.2303/cape.el
;;;###autoload
(defun cape-line (&optional interactive)
  "Complete current line from other lines.
The buffers returned by `cape-line-buffer-function' are scanned for lines.
If INTERACTIVE is nil the function acts like a Capf."
  (interactive (list t))
  (if interactive
      (cape-interactive #'cape-line)
    `(,(pos-bol) ,(point) ,(cape--line-list) ,@cape--line-properties)))