Variable: completion-category-defaults
completion-category-defaults is a variable defined in
minibuffer.el.gz.
Value
((email
(styles substring))
(ecomplete
(styles basic substring))
(buffer
(styles basic substring))
(unicode-name
(styles basic substring))
(project-file
(styles substring))
(xref-location
(styles substring))
(info-menu
(styles basic substring))
(symbol-help
(styles basic shorthand substring)))
Documentation
Default settings for specific completion categories.
Each entry has the shape (CATEGORY . ALIST) where ALIST is
an association list that can specify properties such as:
- styles: the list of completion-styles to use for that category.
- cycle: the completion-cycle-threshold to use for that category.
Categories are symbols such as buffer and file, used when
completing buffer and file names, respectively.
Source Code
;; Defined in /usr/src/emacs/lisp/minibuffer.el.gz
(defvar completion-category-defaults
'((buffer (styles . (basic substring)))
(unicode-name (styles . (basic substring)))
;; A new style that combines substring and pcm might be better,
;; e.g. one that does not anchor to bos.
(project-file (styles . (substring)))
(xref-location (styles . (substring)))
(info-menu (styles . (basic substring)))
(symbol-help (styles . (basic shorthand substring))))
"Default settings for specific completion categories.
Each entry has the shape (CATEGORY . ALIST) where ALIST is
an association list that can specify properties such as:
- `styles': the list of `completion-styles' to use for that category.
- `cycle': the `completion-cycle-threshold' to use for that category.
Categories are symbols such as `buffer' and `file', used when
completing buffer and file names, respectively.")