From 2536afb25bfbf1a47d4238724f70fc8543062b5b Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Sun, 29 Oct 2023 12:20:28 +0100 Subject: [PATCH] Expand Elisp commentary --- completion-preview.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/completion-preview.el b/completion-preview.el index bdd612f..f982ebd 100644 --- a/completion-preview.el +++ b/completion-preview.el @@ -26,7 +26,13 @@ ;; This library provides the Completion Preview mode. This minor mode ;; displays the top completion candidate for the symbol at point in an -;; overlay after point. +;; overlay after point. If you want to enable Completion Preview mode +;; in all programming modes, add the following to your Emacs init: +;; +;; (add-hook 'prog-mode-hook #'completion-preview-mode) +;; +;; Also check out the customization group `completion-preview` for +;; some user options that you may want to tweak. ;;; Code: -- 2.39.2