summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2023-12-09 21:32:15 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2023-12-09 21:32:15 +0100
commitf6b1a1173f4fe83e1c10df822bf8ad6b47a241ce (patch)
treeb945965f8f59abfacba924d4ff88d4cacde94e2e
parent5cf97cb67e52df80a5f3b30c888dbffd498ff9b8 (diff)
Fix typos in docstrings
-rw-r--r--cape.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/cape.el b/cape.el
index 58c5b37..21303e8 100644
--- a/cape.el
+++ b/cape.el
@@ -88,16 +88,16 @@ See `dabbrev-case-fold-search' for details."
(other :tag "on" t)))
(defcustom cape-dabbrev-min-length 4
- "Minimum length of dabbrev expansions.
+ "Minimum length of Dabbrev expansions.
This setting ensures that words which are too short
are not offered as completion candidates, such that
auto completion does not pop up too aggressively."
:type 'natnum)
(defcustom cape-dabbrev-check-other-buffers t
- "Buffers to check for dabbrev.
+ "Buffers to check for Dabbrev.
-If t, check all other buffers (subject to dabbrev ignore rules).
+If t, check all other buffers (subject to Dabbrev ignore rules).
Any other non-nil value only checks some other buffers, as per
`dabbrev-select-buffers-function'."
:type '(choice (const :tag "off" nil)
@@ -519,7 +519,7 @@ If INTERACTIVE is nil the function acts like a Capf."
(declare-function dabbrev--reset-global-variables "dabbrev")
(defun cape--dabbrev-list (input)
- "Find all dabbrev expansions for INPUT."
+ "Find all Dabbrev expansions for INPUT."
(cape--silent
(let ((dabbrev-check-other-buffers (not (null cape-dabbrev-check-other-buffers)))
(dabbrev-check-all-buffers (eq cape-dabbrev-check-other-buffers t)))
@@ -559,7 +559,7 @@ If INTERACTIVE is nil the function acts like a Capf."
"Complete with Dabbrev at point.
If INTERACTIVE is nil the function acts like a Capf. In case you
-observe a performance issue with autocompletion and `cape-dabbrev'
+observe a performance issue with auto-completion and `cape-dabbrev'
it is strongly recommended to disable scanning in other buffers.
See the user options `cape-dabbrev-min-length' and
`cape-dabbrev-check-other-buffers'."
@@ -1131,7 +1131,7 @@ This function can be used as an advice around an existing Capf."
`(,beg ,end ,(cape--accept-all-table table) . ,plist))))
(defmacro cape--capf-wrapper (wrapper)
- "Create a capf transformer from WRAPPER."
+ "Create a Capf transformer from WRAPPER."
`(defun ,(intern (format "cape-capf-%s" wrapper)) (&rest args)
(lambda () (apply #',(intern (format "cape-wrap-%s" wrapper)) args))))