summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2021-12-08 13:45:04 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2021-12-08 13:45:04 +0100
commit1d69a06890cf87c675e346172f62d49638948fb8 (patch)
tree02f3b5588cba99ae701cbceb746f5b21e2491f53
parent6ddd50e7b756c28a0d49b38c1fe2e1d17aa309bb (diff)
cape-tex/cape-sgml: Add autoloads
-rw-r--r--cape.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/cape.el b/cape.el
index ebedf8b..0c51b7a 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" "&")