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

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

[elpa] externals/cape 1d69a06890 117/146: cape-tex/cape-sgml: Add autolo


From: ELPA Syncer
Subject: [elpa] externals/cape 1d69a06890 117/146: cape-tex/cape-sgml: Add autoloads
Date: Sun, 9 Jan 2022 20:57:47 -0500 (EST)

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

    cape-tex/cape-sgml: Add autoloads
---
 cape.el | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/cape.el b/cape.el
index ebedf8b1d5..0c51b7a7d8 100644
--- a/cape.el
+++ b/cape.el
@@ -615,6 +615,10 @@ PREFIX is the prefix regular expression."
                :exit-function #',exit
                :company-kind (lambda (_) 'text)))
        (defun ,capf (&optional interactive)
+         ,(format "Complete unicode character at point.
+Uses the same input format as the %s input method,
+see `describe-input-method'. If INTERACTIVE is nil
+the function acts like a capf." method)
          (interactive (list t))
          (if interactive
              ;; NOTE: Disable cycling since replacement breaks it.
@@ -630,6 +634,8 @@ PREFIX is the prefix regular expression."
                     :exclusive 'no)
               ,properties)))))))
 
+;;;###autoload (autoload 'cape-tex "cape" nil t)
+;;;###autoload (autoload 'cape-sgml "cape" nil t)
 (cape--quail-define tex "TeX" "[\\\\^_]")
 (cape--quail-define sgml "sgml" "&")
 



reply via email to

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