aboutsummaryrefslogtreecommitdiff
path: root/modules/custom-text-enclose.el
diff options
context:
space:
mode:
Diffstat (limited to 'modules/custom-text-enclose.el')
-rw-r--r--modules/custom-text-enclose.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/custom-text-enclose.el b/modules/custom-text-enclose.el
index e1b735a0..e23674ff 100644
--- a/modules/custom-text-enclose.el
+++ b/modules/custom-text-enclose.el
@@ -23,6 +23,12 @@
(require 'keybindings) ;; provides cj/custom-keymap
+;; Bound in the enclose keymap below but owned by the change-inner package
+;; (autoloaded via text-config's `use-package :commands'); declare them so
+;; byte-compiling this module standalone is clean.
+(declare-function change-inner "change-inner")
+(declare-function change-outer "change-inner")
+
(defun cj/--surround (text surround-string)
"Internal implementation: Surround TEXT with SURROUND-STRING.
TEXT is the string to be surrounded.