emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/cape 516eb36e8d 120/146: Minor fixes


From: ELPA Syncer
Subject: [elpa] externals/cape 516eb36e8d 120/146: Minor fixes
Date: Sun, 9 Jan 2022 20:57:47 -0500 (EST)

branch: externals/cape
commit 516eb36e8dd739b70e3df0d89e97537d86d216a9
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Minor fixes
---
 cape.el | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)

diff --git a/cape.el b/cape.el
index 9129ed2e8c..d1af8b3b0a 100644
--- a/cape.el
+++ b/cape.el
@@ -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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]