From: Eshel Yaron Date: Sun, 29 Oct 2023 11:20:28 +0000 (+0100) Subject: Expand Elisp commentary X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2536afb25bfbf1a47d4238724f70fc8543062b5b;p=completion-preview.git Expand Elisp commentary --- 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: