diff options
| -rw-r--r-- | cape.el | 19 |
1 files changed, 17 insertions, 2 deletions
@@ -25,11 +25,25 @@ ;;; Commentary: ;; Let your completions fly! This package provides additional completion -;; backends in the form of capfs. +;; backends in the form of Capfs (completion-at-point-functions). +;; +;; cape-dabbrev: Complete word from current buffers +;; cape-file: Complete file name +;; cape-keyword: Complete programming language keyword +;; cape-symbol: Complete Elisp symbol +;; cape-abbrev: Complete abbreviation (add-global-abbrev, add-mode-abbrev) +;; cape-ispell: Complete word from Ispell dictionary +;; cape-dict: Complete word from dictionary file +;; cape-line: Complete entire line from file +;; cape-tex: Complete unicode char from TeX command, e.g. \hbar. +;; cape-sgml: Complete unicode char from Sgml entity, e.g., &alpha. +;; cape-rfc1345: Complete unicode char using RFC 1345 mnemonics. ;;; Code: -(eval-when-compile (require 'cl-lib)) +(eval-when-compile + (require 'cl-lib) + (require 'subr-x)) ;;;; Customization @@ -570,6 +584,7 @@ If INTERACTIVE is nil the function acts like a capf." ;;;;; cape-tex, cape-sgml, cape-rfc1345 +(declare-function thing-at-point-looking-at "thingatpt") (defmacro cape--char-define (name method prefix) "Define quail translation variable with NAME. METHOD is the input method. |
