branch: externals/cape commit 2d654e18449e87b118d72df1bc6aa8e9aeecef43 Author: Daniel Mendler <m...@daniel-mendler.de> Commit: Daniel Mendler <m...@daniel-mendler.de>
cape-dabbrev: Improve docstring --- cape.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cape.el b/cape.el index 0a7214f47a..3377a21132 100644 --- a/cape.el +++ b/cape.el @@ -61,7 +61,10 @@ :type 'string) (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 'integer) (defcustom cape-dabbrev-check-other-buffers t @@ -497,6 +500,8 @@ If INTERACTIVE is nil the function acts like a capf." ;;;###autoload (defun cape-dabbrev (&optional interactive) "Complete with Dabbrev at point. +See the user options `cape-dabbrev-min-length' and +`cape-dabbrev-check-other-buffers'. If INTERACTIVE is nil the function acts like a capf." (interactive (list t)) (if interactive