;;; init-completion.el --- Completion customizations -*- lexical-binding: t -*- ;;; Commentary: ;; https://www.gnu.org/software/emacs/manual/html_node/emacs/Completion.html ;; https://www.gnu.org/software/emacs/manual/html_node/elisp/Completion.html ;; ;; For Icomplete customizations, see init-icomplete.el. ;;; Code: (unless (package-installed-p 'hotfuzz) (package-install 'hotfuzz)) (setq completion-auto-help 'always) (setq completion-auto-select 'second-tab) (setq completion-ignore-case t) (setq completion-styles '(hotfuzz)) (setq read-buffer-completion-ignore-case t) (setq read-file-name-completion-ignore-case t) ;; The completion style specified above via the variable `completion-styles' ;; isn't used when `switch-to-buffer' is run, and a solution is to set the ;; variable `completion-category-overrides'. (setq completion-category-overrides '((buffer (styles hotfuzz)))) (provide 'init-completion) ;;; init-completion.el ends here