; Fix defcustom in completion.el

* lisp/completion.el (completion-search-distance): Fix doc string
and customization type.  (Bug#65327)
This commit is contained in:
Eli Zaretskii 2023-08-16 20:19:34 +03:00
parent a8c8a4e368
commit 8cf5659ec2

View file

@ -322,9 +322,11 @@ This can be time consuming."
:type 'boolean) :type 'boolean)
(defcustom completion-search-distance 15000 (defcustom completion-search-distance 15000
"How far to search in the buffer when looking for completions. "How far in the buffer to search when looking for completions.
In number of characters. If nil, search the whole buffer." Limit is measured in characters. If nil, search the whole buffer."
:type 'integer) :type '(choice
(const :tag "No limit" nil)
(integer :tag "Limit in characters")))
(defcustom completions-merging-modes '(lisp c) (defcustom completions-merging-modes '(lisp c)
"List of modes {`c' or `lisp'} for automatic completions merging. "List of modes {`c' or `lisp'} for automatic completions merging.